mirror of https://github.com/ARMmbed/mbed-os.git
commit
ccd547492b
|
|
@ -57,7 +57,7 @@ private:
|
||||||
volatile uint16_t write;
|
volatile uint16_t write;
|
||||||
volatile uint16_t read;
|
volatile uint16_t read;
|
||||||
static const int size = Size+1; //a modern optimizer should be able to remove this so it uses no ram.
|
static const int size = Size+1; //a modern optimizer should be able to remove this so it uses no ram.
|
||||||
T buf[Size];
|
T buf[Size+1];
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue