Skip to content

Commit

Permalink
AP_HAL_ESP32: sneak the scheduler Stack Sizes values down to smaller …
Browse files Browse the repository at this point in the history
…but still ok-we-hope values.

WARN - may cause crashes!
  • Loading branch information
davidbuzz committed Nov 2, 2024
1 parent f8dd7fb commit 6c3db11
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions libraries/AP_HAL_ESP32/Scheduler.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,16 +85,16 @@ class ESP32::Scheduler : public AP_HAL::Scheduler
static const int IO_PRIO = 5;
static const int STORAGE_PRIO = 4;

static const int TIMER_SS = 4096;
static const int MAIN_SS = 8192;
static const int RCIN_SS = 4096;
static const int RCOUT_SS = 4096;
static const int WIFI_SS1 = 6192;
static const int WIFI_SS2 = 6192;
static const int UART_SS = 2048;
static const int DEVICE_SS = 4096;
static const int IO_SS = 4096;
static const int STORAGE_SS = 8192;
static const int TIMER_SS = 1024*3;
static const int MAIN_SS = 1024*5;
static const int RCIN_SS = 1024*3;
static const int RCOUT_SS = 1024*1.5;
static const int WIFI_SS1 = 1024*2.25;
static const int WIFI_SS2 = 1024*2.25;
static const int UART_SS = 1024*2.25;
static const int DEVICE_SS = 1024*4; // (DEVICEBUS/s)
static const int IO_SS = 1024*3.5; // (APM_IO)
static const int STORAGE_SS = 1024*2; // (APM_STORAGE)

private:
AP_HAL::HAL::Callbacks *callbacks;
Expand Down

0 comments on commit 6c3db11

Please sign in to comment.