Remove prog_char, for compliance with gcc 4.6.1
This commit is contained in:
4
RF24.cpp
4
RF24.cpp
@@ -206,7 +206,7 @@ void RF24::print_observe_tx(uint8_t value)
|
||||
|
||||
/****************************************************************************/
|
||||
|
||||
void RF24::print_byte_register(prog_char* name, uint8_t reg, uint8_t qty)
|
||||
void RF24::print_byte_register(const char* name, uint8_t reg, uint8_t qty)
|
||||
{
|
||||
char extra_tab = strlen_P(name) < 8 ? '\t' : 0;
|
||||
printf_P(PSTR(PRIPSTR"\t%c ="),name,extra_tab);
|
||||
@@ -217,7 +217,7 @@ void RF24::print_byte_register(prog_char* name, uint8_t reg, uint8_t qty)
|
||||
|
||||
/****************************************************************************/
|
||||
|
||||
void RF24::print_address_register(prog_char* name, uint8_t reg, uint8_t qty)
|
||||
void RF24::print_address_register(const char* name, uint8_t reg, uint8_t qty)
|
||||
{
|
||||
char extra_tab = strlen_P(name) < 8 ? '\t' : 0;
|
||||
printf_P(PSTR(PRIPSTR"\t%c ="),name,extra_tab);
|
||||
|
||||
Reference in New Issue
Block a user