Skip to content

Commit

Permalink
stack size
Browse files Browse the repository at this point in the history
  • Loading branch information
mck1117 committed Aug 13, 2024
1 parent 2e05486 commit 004d477
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion firmware/controllers/core/main_loop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

#define MAIN_LOOP_RATE 1000

class MainLoop : public PeriodicController<512> {
class MainLoop : public PeriodicController<1024> {
public:
MainLoop();
void PeriodicTask(efitick_t nowNt) override;
Expand Down
2 changes: 0 additions & 2 deletions firmware/controllers/core/main_loop.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ constexpr int hzForPeriod(LoopPeriod p) {
case LoopPeriod::Period250hz: return 200;
case LoopPeriod::Period20hz: return 20;
}

throw "invalid LoopPeriod";
}

constexpr float loopPeriodMs(LoopPeriod p) {
Expand Down

0 comments on commit 004d477

Please sign in to comment.