Skip to content

Commit 190b3ab

Browse files
authored
Update application.c
Ring buffer prototype const
1 parent 5bf652b commit 190b3ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

application.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,7 @@ uint16_t i=0;
650650
return sizeof(head); // sizeof(text)-1 should be right ... but doesn't work? TODO
651651
}
652652
// ----------------------------------------------------------------------------------
653-
uint8_t ringBufferCompare(uint8_t ptr,char * c1,uint8_t len) { // Respects ring
653+
uint8_t ringBufferCompare(uint8_t ptr,const char * c1,uint8_t len) { // Respects ring
654654
while (len--) {
655655
if (ringBuffer[ptr]!=*(c1++)) return TRUE;
656656
ptr=(ptr+1)%MAX_RING_BUFFER;

0 commit comments

Comments
 (0)