Multitech xDot Utils
Diff: dot_defs.h
- Revision:
- 3:7fa5603c10dc
- Parent:
- 2:8d1c64670642
- Child:
- 4:db99b2a7d062
diff -r 8d1c64670642 -r 7fa5603c10dc dot_defs.h --- a/dot_defs.h Mon Feb 19 16:11:52 2018 +0200 +++ b/dot_defs.h Wed Feb 21 12:52:15 2018 +0200 @@ -1,6 +1,8 @@ #ifndef MBED_MULTITECHDOT_DOT_DEFS_H #define MBED_MULTITECHDOT_DOT_DEFS_H +#include "MTSLog.h" + struct dot_config { /** * DevAddr, 4 bytes. @@ -39,7 +41,12 @@ /** * Log level mts::MTSLog */ - uint8_t log_level; + mts::MTSLog::logLevel log_level; + + /** + * Disable duty cycle only for debugging radio purposes. Let it set on false for production. + */ + bool disable_duty_cycle; }; #endif