style: minor changes

This commit is contained in:
aZholtikov committed 2026-10-25 08:31:08 +03:00
1 parent 035e5edfd4
commit 6261106b30
1 file changed
+1 -1
+1 -1
View File
@@ -516,7 +516,7 @@ static void zh_nrf24_read_payload(uint8_t *buf, uint8_t count)
{ {
PORTB &= ~(1 << PB2); PORTB &= ~(1 << PB2);
zh_spi_transfer(NRF_CMD_R_RX_PAYLOAD); zh_spi_transfer(NRF_CMD_R_RX_PAYLOAD);
while (count--) while (count-- != 0)
{ {
*buf++ = zh_spi_transfer(0xFF); *buf++ = zh_spi_transfer(0xFF);
} }