Lizzy project
Dependencies: aconno_I2C Lis2dh12 adc52832_common aconno_SEGGER_RTT
Diff: source/main.h
- Branch:
- testing-ignore
- Revision:
- 24:7539258b015c
- Parent:
- 23:bf9c1dd2b5cb
diff -r bf9c1dd2b5cb -r 7539258b015c source/main.h --- a/source/main.h Mon Sep 17 12:46:41 2018 +0000 +++ b/source/main.h Thu Sep 20 07:34:35 2018 +0000 @@ -14,16 +14,10 @@ #include "ble/BLE.h" #include "GapAdvertisingData.h" #include "acd52832_bsp.h" +#include "proj_config.h" -#define DEBUG (0) -#define PRINT_ON_RTT (0) -#define DEBUG_LED (0) -#define NANO_MODULE (0) -#define NORMAL_AXIS (1) //#define LSB_VALUE (192) -#define BLE_ACTIVE_TIME_S (0.4) -#define POWER_UP_DELAY_MS (200) #define STOP_FPU() \ __set_FPSCR(__get_FPSCR() & ~(0x0000009F)); \ @@ -37,13 +31,9 @@ #define printf(...) #endif -#define INT1_THRESHOLD (30) -#define INT1_DUR (12) -#define ACC_ODR_ACTIVE_MODE (ODR_50Hz) -#define ACC_ODR_SLEEP_MODE (ODR_25Hz) #define ACC_INT_SIG (0x00001020) // Acc interrupt signal -#define DISABLE_BLE_SIG (0x00001030) +#define DISABLE_BLE_SIG (0x00001040) extern Thread bleT;