[core] Move per-platform hal_platform.h into components/platform/hal.h (#16183)
This commit is contained in:
1 parent
0980630f68
commit
5cc447e0da
12 files changed
+29
-17
No files matched your search
@@ -17,7 +17,7 @@ namespace esphome::rp2040 {} // namespace esphome::rp2040
|
||||
namespace esphome {
|
||||
|
||||
// yield(), delay(), micros(), millis(), millis_64(), delayMicroseconds(),
|
||||
// arch_feed_wdt(), arch_get_cpu_cycle_count() inlined in core/hal/hal_rp2040.h.
|
||||
// arch_feed_wdt(), arch_get_cpu_cycle_count() inlined in components/rp2040/hal.h.
|
||||
void arch_restart() {
|
||||
watchdog_reboot(0, 0, 10);
|
||||
while (1) {
|
||||
|
||||
Reference in new issue
Block a user