comments in main.cpp
This commit is contained in:
parent
ff759e1533
commit
e553dc70a2
19
src/main.cpp
19
src/main.cpp
@ -216,6 +216,16 @@ void setup() {
|
||||
DisplayState = cfg.screenon;
|
||||
init_display(PRODUCTNAME, PROGVERSION);
|
||||
|
||||
/*
|
||||
Usage of ESP32 hardware timers
|
||||
==============================
|
||||
|
||||
0 Display-Refresh
|
||||
1 Wifi Channel Switch
|
||||
2 Send Cycle
|
||||
3 Housekeeping
|
||||
*/
|
||||
|
||||
// setup display refresh trigger IRQ using esp32 hardware timer
|
||||
// https://techtutorialsx.com/2017/10/07/esp32-arduino-timer-interrupts/
|
||||
|
||||
@ -286,8 +296,6 @@ void setup() {
|
||||
|
||||
/*
|
||||
|
||||
Overview Tasks & Timer
|
||||
|
||||
Task Core Prio Purpose
|
||||
====================================================================
|
||||
IDLE 0 0 ESP32 arduino scheduler
|
||||
@ -296,13 +304,6 @@ void setup() {
|
||||
loraloop 1 1 runs the LMIC stack
|
||||
statemachine 1 3 switches process logic
|
||||
|
||||
Timers
|
||||
======
|
||||
0 Display-Refresh
|
||||
1 Wifi Channel Switch
|
||||
2 Send Cycle
|
||||
3 Housekeeping
|
||||
|
||||
*/
|
||||
|
||||
// start lmic runloop in rtos task on core 1
|
||||
|
Loading…
Reference in New Issue
Block a user