File tree 2 files changed +3
-3
lines changed
hardware/arduino/avr/libraries/SoftwareSerial/src
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ The latest version of this library can always be found at
48
48
// Statics
49
49
//
50
50
SoftwareSerial *SoftwareSerial::active_object = 0 ;
51
- char SoftwareSerial::_receive_buffer[_SS_MAX_RX_BUFF];
51
+ uint8_t SoftwareSerial::_receive_buffer[_SS_MAX_RX_BUFF];
52
52
volatile uint8_t SoftwareSerial::_receive_buffer_tail = 0 ;
53
53
volatile uint8_t SoftwareSerial::_receive_buffer_head = 0 ;
54
54
@@ -482,5 +482,5 @@ int SoftwareSerial::peek()
482
482
return -1 ;
483
483
484
484
// Read from "head"
485
- return ( uint8_t ) _receive_buffer[_receive_buffer_head];
485
+ return _receive_buffer[_receive_buffer_head];
486
486
}
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ class SoftwareSerial : public Stream
66
66
uint16_t _inverse_logic:1 ;
67
67
68
68
// static data
69
- static char _receive_buffer[_SS_MAX_RX_BUFF];
69
+ static uint8_t _receive_buffer[_SS_MAX_RX_BUFF];
70
70
static volatile uint8_t _receive_buffer_tail;
71
71
static volatile uint8_t _receive_buffer_head;
72
72
static SoftwareSerial *active_object;
You can’t perform that action at this time.
0 commit comments