Skip to content

Commit c48e5ea

Browse files
committed
Update CircBuffer.h
1 parent cad87d1 commit c48e5ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/USBDevice/USBSerial/CircBuffer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class CircBuffer {
5656
private:
5757
volatile uint16_t write;
5858
volatile uint16_t read;
59-
static const int size = Size+1;
59+
static const int size = Size+1; //a modern optimizer should be able to remove this so it uses no ram.
6060
T buf[Size];
6161
};
6262

0 commit comments

Comments
 (0)