move DATA_SIZE to global

This commit is contained in:
2025-05-25 15:07:39 +02:00
parent 17a5b457d6
commit 52e2c96e0e
3 changed files with 7 additions and 2 deletions

View File

@ -51,6 +51,11 @@ uint8_t lastClk = HIGH;
byte valueBuffer[VALUE_BUFFER] = { 0 };
uint8_t readerPos, writerPos = 0;
// ringbuffer of display data
struct {
}
void addValue(uint8_t value) {
valueBuffer[writerPos++] = value;