Enabled warnings, and cleaned up warnings. Updated pingpair makefile for recent makefile improvements
This commit is contained in:
6
RF24.cpp
6
RF24.cpp
@@ -219,14 +219,14 @@ void RF24::printDetails(void)
|
||||
uint8_t buffer[5];
|
||||
uint8_t status = read_register(RX_ADDR_P0,buffer,5);
|
||||
print_status(status);
|
||||
printf("RX_ADDR_P0 = 0x",buffer);
|
||||
printf("RX_ADDR_P0 = 0x");
|
||||
uint8_t *bufptr = buffer + 5;
|
||||
while( bufptr-- > buffer )
|
||||
printf("%02x",*bufptr);
|
||||
printf("\n\r");
|
||||
|
||||
status = read_register(RX_ADDR_P1,buffer,5);
|
||||
printf("RX_ADDR_P1 = 0x",buffer);
|
||||
printf("RX_ADDR_P1 = 0x");
|
||||
bufptr = buffer + 5;
|
||||
while( bufptr-- > buffer )
|
||||
printf("%02x",*bufptr);
|
||||
@@ -241,7 +241,7 @@ void RF24::printDetails(void)
|
||||
printf("\n\r");
|
||||
|
||||
status = read_register(TX_ADDR,buffer,5);
|
||||
printf("TX_ADDR = 0x",buffer);
|
||||
printf("TX_ADDR = 0x");
|
||||
bufptr = buffer + 5;
|
||||
while( bufptr-- > buffer )
|
||||
printf("%02x",*bufptr);
|
||||
|
||||
Reference in New Issue
Block a user