From d5dc0fef964022a66cc66b60512b835926e1144c Mon Sep 17 00:00:00 2001 From: Oussama Hannouch Date: Tue, 23 May 2023 21:50:28 +0200 Subject: [PATCH] Update 'soft/PjtKEIL_StepSon/Src/GestionSon.s' --- soft/PjtKEIL_StepSon/Src/GestionSon.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/soft/PjtKEIL_StepSon/Src/GestionSon.s b/soft/PjtKEIL_StepSon/Src/GestionSon.s index b9a52ef..af403eb 100644 --- a/soft/PjtKEIL_StepSon/Src/GestionSon.s +++ b/soft/PjtKEIL_StepSon/Src/GestionSon.s @@ -33,7 +33,7 @@ SortieSon dcw 0 EXPORT CallbackSon StartSon proc - mov r0, #0 ; Charger la valeur 0 dans le registre r0 + mov r0, #0 ;Charger la valeur 0 dans le registre r0 ldr r1, =Son_index ; Charger l'adresse de la variable Son_index dans le registre r1 str r0, [r1] ; Stocker la valeur de r0 dans la variable Son_index bx lr ; Retourner à l'appelant