🐛 HAL_reboot for native HAL (#23246)

This commit is contained in:
Chris Pepper 2021-12-05 22:18:02 +00:00 committed by Scott Lahteine
parent 251d9fc1d7
commit 8a2f13d657

View File

@ -140,6 +140,8 @@ inline void set_pwm_duty(const pin_t pin, const uint16_t v, const uint16_t=255,
inline void HAL_clear_reset_source(void) {}
inline uint8_t HAL_get_reset_source(void) { return RST_POWER_ON; }
void HAL_reboot();
/* ---------------- Delay in cycles */
#define DELAY_CYCLES(x) Kernel::delayCycles(x)