Skip to content

Commit

Permalink
reverted stack size settings
Browse files Browse the repository at this point in the history
  • Loading branch information
doudar committed Jan 24, 2024
1 parent 7761727 commit 7109ff1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions include/settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -297,12 +297,12 @@
#define BLE_RECONNECT_SCAN_DURATION 15

//Task Stack Sizes
#define MAIN_STACK 3500
#define ERG_STACK 3500
#define HTTP_STACK 5000
#define BLE_COMM_STACK 5000
#define MAIN_STACK 4500
#define ERG_STACK 6500
#define HTTP_STACK 6000
#define BLE_COMM_STACK 6000
#define BLE_CLIENT_STACK 5000
#define STEPPER_STACK 2000
#define STEPPER_STACK 1700

// Uncomment to enable stack size debugging info
// #define DEBUG_STACK
Expand Down
10 changes: 5 additions & 5 deletions src/Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ Boards boards;
Board currentBoard;

///////////// Initialize the Config /////////////
SS2K *ss2k = new SS2K;
userParameters *userConfig = new userParameters;
RuntimeParameters *rtConfig = new RuntimeParameters;
physicalWorkingCapacity *userPWC = new physicalWorkingCapacity;
SS2K *ss2k = SS2K;
userParameters *userConfig = userParameters;
RuntimeParameters *rtConfig = RuntimeParameters;
physicalWorkingCapacity *userPWC = physicalWorkingCapacity;

///////////// Log Appender /////////////
UdpAppender udpAppender;
Expand Down Expand Up @@ -206,7 +206,7 @@ void SS2K::maintenanceLoop(void *pvParameters) {
userConfig->saveToLittleFS();
userPWC->saveToLittleFS();
}

if ((millis() - intervalTimer) > 2003) { // add check here for when to restart WiFi
// maybe if in STA mode and 8.8.8.8 no ping return?
// ss2k->restartWifi();
Expand Down

0 comments on commit 7109ff1

Please sign in to comment.