changeset 183:9baecc0c24b2 Cleanup_Compass_Wireless

Cleanup compiler warnings
author ideenmodellierer
date Thu, 14 Mar 2019 20:44:03 +0100
parents 7e749084f347
children 8117802894a4
files Small_CPU/Src/baseCPU2.c Small_CPU/Src/compass.c
diffstat 2 files changed, 2 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/Small_CPU/Src/baseCPU2.c	Thu Mar 14 20:43:47 2019 +0100
+++ b/Small_CPU/Src/baseCPU2.c	Thu Mar 14 20:44:03 2019 +0100
@@ -239,15 +239,15 @@
 static void EXTI_Test_Button_Init(void);
 static void EXTI_Test_Button_DeInit(void);
 
-//static void EXTILine01_Button_DeInit(void);
 static void GPIO_LED_Init(void);
 static void GPIO_Power_MainCPU_Init(void);
 static void GPIO_Power_MainCPU_ON(void);
 static void GPIO_Power_MainCPU_OFF(void);
 
+#ifdef DEBUG_I2C_LINES
 void GPIO_test_I2C_lines(void);
+#endif
 
-//void sleep_test(void);
 void sleep_prepare(void);
 
 void SystemClock_Config(void);
--- a/Small_CPU/Src/compass.c	Thu Mar 14 20:43:47 2019 +0100
+++ b/Small_CPU/Src/compass.c	Thu Mar 14 20:44:03 2019 +0100
@@ -223,12 +223,6 @@
 void compass_read_LSM303D(void);
 void acceleration_read_LSM303D(void);
 
-void compass_init_LSM303DLHC(uint8_t fast, uint8_t gain);
-void compass_sleep_LSM303DLHC(void);
-void compass_read_LSM303DLHC(void);
-void acceleration_read_LSM303DLHC(void);
-
-
 int LSM303D_accel_set_onchip_lowpass_filter_bandwidth(unsigned bandwidth);
 int compass_calib_common(void);