File tree 1 file changed +5
-8
lines changed
libraries/MySensors/drivers/RF24
1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change 10
10
#include " RF24_config.h"
11
11
#include " RF24.h"
12
12
13
- // Save some bytes by reusing strings.
14
- static const char space_str_P[] PROGMEM = " " ;
15
-
16
13
/* ***************************************************************************/
17
14
#ifdef MY_DEBUG_VERBOSE
18
15
static void print_hex ( uint8_t v, const bool prefix0x = false )
@@ -304,7 +301,7 @@ void RF24::print_feature(void)
304
301
#ifdef MY_DEBUG_VERBOSE
305
302
Serial.print (F (" FEATURE=" ));
306
303
print_hex (read_register (FEATURE), true );
307
- Serial.println (space_str_P );
304
+ Serial.println (F ( " " ) );
308
305
#endif
309
306
}
310
307
@@ -345,10 +342,10 @@ void RF24::print_byte_register(uint8_t reg, uint8_t qty)
345
342
while (qty--)
346
343
{
347
344
print_hex (read_register (reg++), prefix0x);
348
- Serial.print (space_str_P );
345
+ Serial.print (F ( " " ) );
349
346
prefix0x = false ;
350
347
}
351
- Serial.println (space_str_P );
348
+ Serial.println (F ( " " ) );
352
349
#else
353
350
(void )reg;
354
351
(void )qty;
@@ -371,9 +368,9 @@ void RF24::print_address_register(uint8_t reg, uint8_t qty)
371
368
print_hex (read_register (*bufptr), prefix0x);
372
369
prefix0x = false ;
373
370
}
374
- Serial.print (space_str_P );
371
+ Serial.print (F ( " " ) );
375
372
}
376
- Serial.println (space_str_P );
373
+ Serial.println (F ( " " ) );
377
374
#else
378
375
(void )reg;
379
376
(void )qty;
You can’t perform that action at this time.
0 commit comments