sanitize ext_power_off
This commit is contained in:
1 parent
d3f5f4f60d
commit
c81af717bd
5 files changed
+15
-6
No files matched your search
@@ -34,6 +34,15 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef EXT_POWER_SW
|
||||
#ifndef EXT_POWER_ON
|
||||
#define EXT_POWER_ON 1
|
||||
#endif
|
||||
#ifndef EXT_POWER_OFF
|
||||
#define EXT_POWER_OFF (!EXT_POWER_ON)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
typedef uint8_t (*mapFn_t)(uint16_t, uint16_t, uint16_t);
|
||||
|
||||
uint16_t read_voltage(void);
|
||||
|
||||
Reference in new issue
Block a user