Implement default board power control to allow software switch-off

This commit is contained in:
Lorenz Meier
2017-02-04 21:06:21 +01:00
parent a92931fe84
commit f7fa374656
3 changed files with 6 additions and 0 deletions
+4
View File
@@ -376,6 +376,10 @@ __EXPORT int board_get_uuid_formated32(char *format_buffer, int size,
raw_uuid_uint32_reorder_t *optional_reorder);
#endif // !defined(BOARD_OVERRIDE_UUID)
#if !defined(BOARD_HAS_POWER_CONTROL)
#define board_pwr(switch_on) { do {} while(0); }
#endif
/************************************************************************************
* Name: board_mcu_version
*