Degree Computation
Dependencies: aconno_SEGGER_RTT LSM9DS1 Si7006A20 adc52832_common aconnoMPL115A1 aconno_bsp
Diff: source/aconnoConfig.h
- Revision:
- 4:cb3513aa9814
- Parent:
- 0:442d98af8cc7
diff -r b62a73dc76b7 -r cb3513aa9814 source/aconnoConfig.h --- a/source/aconnoConfig.h Fri Dec 14 13:33:03 2018 +0100 +++ b/source/aconnoConfig.h Tue Jan 08 13:06:07 2019 +0000 @@ -37,22 +37,7 @@ struct __attribute__((packed, aligned(1))) advertising_packet { uint32_t header; - uint8_t type; - union{ - struct{ - int16_t gyroscope[3]; - int16_t accelerometer[3]; - int16_t magnetometer[3]; - uint16_t acc_lsb_value; - }; - struct{ - float temperature; - float humidity; - float pressure; - float light; - uint8_t battery; - }; - }; + float degree; }; #endif // __ACONNO_CONFIG_H__ \ No newline at end of file