Skip to content

Commit

Permalink
πŸ› HAL_reboot for native HAL (#23246)
Browse files Browse the repository at this point in the history
  • Loading branch information
p3p authored and thinkyhead committed Dec 25, 2021
1 parent 251d9fc commit 8a2f13d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Marlin/src/HAL/NATIVE_SIM/HAL.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8a2f13d

Please sign in to comment.