Browse Source

🐛 HAL_reboot for native HAL (#23246)

vanilla_fb_2.0.x
Chris Pepper 3 years ago
committed by Scott Lahteine
parent
commit
8a2f13d657
  1. 2
      Marlin/src/HAL/NATIVE_SIM/HAL.h

2
Marlin/src/HAL/NATIVE_SIM/HAL.h

@ -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