Skip to content

Commit b1a813a

Browse files
authored
Remove atomicity warning that does not apply to STM32
Signed-off-by: Taylor Braun-Jones <[email protected]>
1 parent 0935852 commit b1a813a

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Diff for: cores/arduino/HardwareSerial.h

-5
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,6 @@
3535
// location from which to read.
3636
// NOTE: a "power of 2" buffer size is recommended to dramatically
3737
// optimize all the modulo operations for ring buffers.
38-
// WARNING: When buffer sizes are increased to > 256, the buffer index
39-
// variables are automatically increased in size, but the extra
40-
// atomicity guards needed for that are not implemented. This will
41-
// often work, but occasionally a race condition can occur that makes
42-
// Serial behave erratically. See https://github.com/arduino/Arduino/issues/2405
4338
#if !defined(SERIAL_TX_BUFFER_SIZE)
4439
#define SERIAL_TX_BUFFER_SIZE 64
4540
#endif

0 commit comments

Comments
 (0)