Skip to content

Commit

Permalink
Corrected comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jsphuebner committed Sep 14, 2023
1 parent 614dc63 commit b6aa38e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/cansdo.h
Expand Up @@ -53,10 +53,10 @@ class CanSdo: CanCallback, public IPutChar
uint8_t nodeId;
uint8_t remoteNodeId;
int printRequest;
//We use a ringbuffer with non-wrapping index. This limits us to 4 GB, huh!
//We use a ring buffer with non-wrapping index. This limits us to 4 GB, huh!
//In the beginning printBufIn starts at 0 and printBufOut at sizeof(printBuffer) (e.g. 64)
//All adressing of printBuffer is modulo buffer size
volatile char printBuffer[64];
//All addressing of printBuffer is modulo buffer size
volatile char printBuffer[64]; //Must be a power of 2 for efficient modulo calculation
volatile uint32_t printByteIn;
volatile uint32_t printByteOut;
Param::PARAM_NUM mapParam;
Expand Down

0 comments on commit b6aa38e

Please sign in to comment.