style: minor changes
This commit is contained in:
1 parent
035e5edfd4
commit
6261106b30
1 file changed
+1
-1
+1
-1
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user