Skip to content
Snippets Groups Projects
Unverified Commit 5a8a98c0 authored by DNOALEE's avatar DNOALEE Committed by GitHub
Browse files

Merge pull request #2 from EPFLepuck/main

Remove static acc_z
parents 92581c72 f32e815a
Branches LED
No related tags found
No related merge requests found
...@@ -17,7 +17,6 @@ ...@@ -17,7 +17,6 @@
#define GRAVITY 9.80665f #define GRAVITY 9.80665f
static float acc_x = 0; static float acc_x = 0;
static float acc_z = 0;
static uint8_t acc_case = 0; static uint8_t acc_case = 0;
// Thread that tells us in which case (0, I, II, III, IV) (SPQR) we are // Thread that tells us in which case (0, I, II, III, IV) (SPQR) we are
...@@ -29,6 +28,7 @@ static THD_FUNCTION(SelectCase, arg) { ...@@ -29,6 +28,7 @@ static THD_FUNCTION(SelectCase, arg) {
float acc_y = 0; float acc_y = 0;
float acc_z = 0;
while(1){ while(1){
// get x and y component accelerometer // get x and y component accelerometer
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment