Skip to content

Commit

Permalink
Fix missing constant
Browse files Browse the repository at this point in the history
  • Loading branch information
gloomyandy committed Jan 30, 2023
1 parent b02625f commit 4bed39b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ClosedLoop/ClosedLoop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
# include <atomic>

constexpr unsigned int MaxSamples = 65535; // This comes from the fact CanMessageClosedLoopData->firstSampleNumber has a max value of 65535
constexpr uint32_t DataReceiveTimeout = 5000; // Data receive timeout in milliseconds

static uint16_t rateRequested; // The sampling rate
static uint8_t modeRequested; // The sampling mode(immediate or on next move)
Expand Down

0 comments on commit 4bed39b

Please sign in to comment.