Skip to content

Commit

Permalink
add model variant info to printPrettyDetails() (#850)
Browse files Browse the repository at this point in the history
* add model variant info to printPrettyDetails()

* conform column about model variant
  • Loading branch information
2bndy5 committed Jul 9, 2022
1 parent c3aa6ef commit aaed50c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions RF24.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -723,6 +723,9 @@ void RF24::printPrettyDetails(void)
uint8_t channel = getChannel();
uint16_t frequency = static_cast<uint16_t>(channel + 2400);
printf_P(PSTR("Channel\t\t\t= %u (~ %u MHz)\r\n"), channel, frequency);
printf_P(PSTR("Model\t\t\t= " PRIPSTR
"\r\n"),
(char*)(pgm_read_ptr(&rf24_model_e_str_P[isPVariant()])));

printf_P(PSTR("RF Data Rate\t\t" PRIPSTR
"\r\n"),
Expand Down

0 comments on commit aaed50c

Please sign in to comment.