🐛 HAL_reboot for native HAL (#23246)

x301
Chris Pepper 3 years ago committed by Scott Lahteine
parent 251d9fc1d7
commit 8a2f13d657

@ -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 void HAL_clear_reset_source(void) {}
inline uint8_t HAL_get_reset_source(void) { return RST_POWER_ON; } inline uint8_t HAL_get_reset_source(void) { return RST_POWER_ON; }
void HAL_reboot();
/* ---------------- Delay in cycles */ /* ---------------- Delay in cycles */
#define DELAY_CYCLES(x) Kernel::delayCycles(x) #define DELAY_CYCLES(x) Kernel::delayCycles(x)

Loading…
Cancel
Save