Add some missing volatile annotations

This commit is contained in:
Allen Hill
2026-05-15 21:46:49 +00:00
parent aefc698fca
commit 1fa9d63ac5
3 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -37,7 +37,7 @@
#define USART_BAUD_RATE(BAUD_RATE) \
(uint16_t)((float)(F_CPU * 64 / (RXMODE_S * (float)BAUD_RATE)) + 0.5)
uint8_t RS232_RxCharBuffer[25], RS232_RxCharBegin, RS232_RxCharEnd;
volatile uint8_t RS232_RxCharBuffer[25], RS232_RxCharBegin, RS232_RxCharEnd;
void RS232_Init(void) {
RS232_RxCharBegin = RS232_RxCharEnd = 0;