Fixed sss7_has_received()

This commit is contained in:
Sebastian 2016-11-26 22:39:44 +01:00
parent b14d45e484
commit 93fbf66350
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ static inline uint8_t sss7_send_failed(void) {
}
static inline uint8_t sss7_has_received(void) {
return sss7_rx_oldest_buffer < sss7_rx_active_buffer;
return sss7_rx_oldest_buffer != sss7_rx_active_buffer;
}
void sss7_get_received(uint8_t msg[SSS7_PAYLOAD_SIZE]);