From 8a2f13d657cb881b7e0365dd0a28b233125d433c Mon Sep 17 00:00:00 2001 From: Chris Pepper Date: Sun, 5 Dec 2021 22:18:02 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20HAL=5Freboot=20for=20native=20HA?= =?UTF-8?q?L=20(#23246)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Marlin/src/HAL/NATIVE_SIM/HAL.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Marlin/src/HAL/NATIVE_SIM/HAL.h b/Marlin/src/HAL/NATIVE_SIM/HAL.h index 915339468b..436b4b4daa 100644 --- a/Marlin/src/HAL/NATIVE_SIM/HAL.h +++ b/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 uint8_t HAL_get_reset_source(void) { return RST_POWER_ON; } +void HAL_reboot(); + /* ---------------- Delay in cycles */ #define DELAY_CYCLES(x) Kernel::delayCycles(x)