mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-04-05 06:26:46 +00:00
deepSleep update
This commit is contained in:
parent
c5217842ff
commit
4cf3a333c9
3 changed files with 8 additions and 0 deletions
|
|
@ -6,6 +6,7 @@
|
|||
#include "boards_pinout.h"
|
||||
#include "syslog_utils.h"
|
||||
#include "A7670_utils.h"
|
||||
#include "lora_utils.h"
|
||||
#include "wifi_utils.h"
|
||||
#include "gps_utils.h"
|
||||
#include "bme_utils.h"
|
||||
|
|
@ -294,6 +295,8 @@ namespace Utils {
|
|||
digitalWrite(VEXT_CTRL, LOW);
|
||||
#endif
|
||||
#endif
|
||||
LoRa_Utils::sleepRadio();
|
||||
delay(100);
|
||||
esp_deep_sleep_start();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue