ソースを参照

🐛 HAL_reboot for native HAL (#23246)

Chris Pepper 3年前
コミット
a010c4d1c8
コミッターのメールアドレスに関連付けられたアカウントが存在しません
1個のファイルの変更2行の追加0行の削除
  1. 2
    0
      Marlin/src/HAL/NATIVE_SIM/HAL.h

+ 2
- 0
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,
140 140
 inline void HAL_clear_reset_source(void) {}
141 141
 inline uint8_t HAL_get_reset_source(void) { return RST_POWER_ON; }
142 142
 
143
+void HAL_reboot();
144
+
143 145
 /* ---------------- Delay in cycles */
144 146
 
145 147
 #define DELAY_CYCLES(x) Kernel::delayCycles(x)

読み込み中…
キャンセル
保存