mirror of
https://github.com/meshtastic/firmware.git
synced 2026-09-21 05:45:27 -04:00
emdashes begone (#10847)
This commit is contained in:
276 files changed
+1795
-1793
No files matched your search
+2
-2
@@ -778,7 +778,7 @@ bool Power::setup()
|
||||
{
|
||||
#ifdef HAS_SGM41562
|
||||
// Initialize the charger early so AnalogBatteryLevel can read charging
|
||||
// state from it. The charger does not provide battery voltage / percent —
|
||||
// state from it. The charger does not provide battery voltage / percent -
|
||||
// those still come from the platform ADC via analogInit() below.
|
||||
initSGM41562(SGM41562_WIRE);
|
||||
#endif
|
||||
@@ -842,7 +842,7 @@ void Power::reboot()
|
||||
// Browser/headless WASM node: no in-process restart. notifyReboot above
|
||||
// already let modules persist; hand off to the host (reboot() ->
|
||||
// location.reload() in a tab, or Module.onReboot() headless). Deliberately
|
||||
// skip the ARCH_PORTDUINO SPI/Wire/Serial teardown below — it would kill the
|
||||
// skip the ARCH_PORTDUINO SPI/Wire/Serial teardown below - it would kill the
|
||||
// radio with no actual restart to follow, leaving a wedged node. Must come
|
||||
// before the ARCH_PORTDUINO arm: the wasm build defines both macros.
|
||||
::reboot();
|
||||
|
||||
Reference in new issue
Block a user