mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-03 03:09:59 +00:00
17 lines
391 B
C
17 lines
391 B
C
|
#pragma once
|
||
|
|
||
|
void doDeepSleep(uint64_t msecToWake);
|
||
|
void doLightSleep(uint64_t msecToWake);
|
||
|
void setBluetoothEnable(bool on);
|
||
|
|
||
|
// Perform power on init that we do on each wake from deep sleep
|
||
|
void initDeepSleep();
|
||
|
|
||
|
void setCPUFast(bool on);
|
||
|
void setLed(bool ledOn);
|
||
|
|
||
|
extern int bootCount;
|
||
|
extern esp_sleep_source_t wakeCause;
|
||
|
|
||
|
// is bluetooth sw currently running?
|
||
|
extern bool bluetoothOn;
|