mirror of
https://github.com/alexhopeoconnor/firmware.git
synced 2026-10-18 01:11:42 +10:00
20 lines
440 B
C
20 lines
440 B
C
#pragma once
|
|
|
|
#include "Arduino.h"
|
|
|
|
void doDeepSleep(uint64_t msecToWake);
|
|
void doLightSleep(uint64_t msecToWake);
|
|
void setBluetoothEnable(bool on);
|
|
void setGPSPower(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; |