Skip to content

Commit

Permalink
Event Queue syntax fix
Browse files Browse the repository at this point in the history
  • Loading branch information
colbycheese55 committed Oct 13, 2024
1 parent 6544c2f commit 6936230
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PowerBoard/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

#define MOTOR_STATUS_LOOP_PERIOD 10ms

EventQueue queue;
EventQueue queue(32 * EVENTS_EVENT_SIZE);

const bool PIN_ON = true;
const bool PIN_OFF = false;
Expand Down Expand Up @@ -173,5 +173,5 @@ void regen_drive(){

int main() {
queue.call_every(MOTOR_STATUS_LOOP_PERIOD, set_motor_status);
queue.dispatch();
queue.dispatch_forever();
}

0 comments on commit 6936230

Please sign in to comment.