From bab0bf818e562dc8a5d3ead255bcbf86ed0f1ccf Mon Sep 17 00:00:00 2001 From: Remi Pitault Date: Wed, 12 Apr 2023 14:29:59 +0200 Subject: [PATCH] GestionSon.h --- soft/PjtKEIL_StepSon/Src/GestionSon.h | 2 ++ soft/PjtKEIL_StepSon/Src/principal.c | 4 +--- soft/PjtKEIL_StepSon/StepSon.uvoptx | 22 +++++++++++++++++----- soft/PjtKEIL_StepSon/StepSon.uvprojx | 15 +++++++++++++++ 4 files changed, 35 insertions(+), 8 deletions(-) create mode 100644 soft/PjtKEIL_StepSon/Src/GestionSon.h diff --git a/soft/PjtKEIL_StepSon/Src/GestionSon.h b/soft/PjtKEIL_StepSon/Src/GestionSon.h new file mode 100644 index 0000000..1aa2cf5 --- /dev/null +++ b/soft/PjtKEIL_StepSon/Src/GestionSon.h @@ -0,0 +1,2 @@ +extern void CallbackSon(void); +extern void StartSon(void); diff --git a/soft/PjtKEIL_StepSon/Src/principal.c b/soft/PjtKEIL_StepSon/Src/principal.c index 78d61c0..a1f9448 100644 --- a/soft/PjtKEIL_StepSon/Src/principal.c +++ b/soft/PjtKEIL_StepSon/Src/principal.c @@ -1,7 +1,5 @@ #include "DriverJeuLaser.h" - -extern void CallbackSon(void); -extern void StartSon(void); +#include "GestionSon.h" int main(void) { diff --git a/soft/PjtKEIL_StepSon/StepSon.uvoptx b/soft/PjtKEIL_StepSon/StepSon.uvoptx index 9c08782..8ec3eb5 100644 --- a/soft/PjtKEIL_StepSon/StepSon.uvoptx +++ b/soft/PjtKEIL_StepSon/StepSon.uvoptx @@ -215,7 +215,7 @@ 0 `SortieSon - 0080000000000010572172410000005058E17A4100000000000000000000000000000000536F72746965536F6E00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004100000001000000000000000000E03F170000000000000000000000000000000000000094080008 + 008000000000000000002640000000905D78864100000000000000000000000000000000536F72746965536F6E00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004100000001000000000000000000E03F170000000000000000000000000000000000000094080008 1 @@ -644,6 +644,18 @@ 0 0 + + 1 + 2 + 5 + 0 + 0 + 0 + .\Src\GestionSon.h + GestionSon.h + 0 + 0 + @@ -654,7 +666,7 @@ 0 2 - 2 + 3 2 0 0 @@ -674,7 +686,7 @@ 0 3 - 3 + 4 4 0 0 @@ -694,7 +706,7 @@ 0 4 - 4 + 5 2 0 0 @@ -706,7 +718,7 @@ 4 - 5 + 6 2 0 0 diff --git a/soft/PjtKEIL_StepSon/StepSon.uvprojx b/soft/PjtKEIL_StepSon/StepSon.uvprojx index c69c3c5..cd77692 100644 --- a/soft/PjtKEIL_StepSon/StepSon.uvprojx +++ b/soft/PjtKEIL_StepSon/StepSon.uvprojx @@ -388,6 +388,11 @@ 1 .\Src\principal.c + + GestionSon.h + 5 + .\Src\GestionSon.h + @@ -812,6 +817,11 @@ 1 .\Src\principal.c + + GestionSon.h + 5 + .\Src\GestionSon.h + @@ -1305,6 +1315,11 @@ 1 .\Src\principal.c + + GestionSon.h + 5 + .\Src\GestionSon.h +