mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-24 03:29:57 -07:00
SubGhz: fix RXFIFO_OVERFLOW
This commit is contained in:
@@ -357,7 +357,7 @@ bool subghz_device_cc1101_ext_rx_pipe_not_empty() {
|
||||
(CC1101_STATUS_RXBYTES) | CC1101_BURST,
|
||||
(uint8_t*)status);
|
||||
furi_hal_spi_release(subghz_device_cc1101_ext->spi_bus_handle);
|
||||
if((status->NUM_RXBYTES > 0) && (status->RXFIFO_OVERFLOW == 0)) {
|
||||
if((status->NUM_RXBYTES > 0) || (status->RXFIFO_OVERFLOW == 0)) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user