Skip to content

Commit

Permalink
Merge pull request #104 from Knifa/toggle-boot-check
Browse files Browse the repository at this point in the history
Add option for toggling boot check
  • Loading branch information
sheaivey authored Dec 12, 2016
2 parents 5ec858b + 4edfd47 commit 7c458b6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/rx5808-pro-diversity/oled_128x64_adafruit_screens.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ char screens::begin(const char *call_sign) {
// init done
reset();

#ifdef USE_BOOT_CHECK
display.fillRect(0, 0, display.width(), 11,WHITE);
display.setTextColor(BLACK);
display.setCursor(((display.width() - (10*6)) / 2),2);
Expand Down Expand Up @@ -114,6 +115,8 @@ char screens::begin(const char *call_sign) {
display.print(call_sign);
display.display();
delay(1250);
#endif

return 0; // no errors
}

Expand Down
1 change: 1 addition & 0 deletions src/rx5808-pro-diversity/settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ SOFTWARE.
// 5362 MHz 5399 MHz 5436 MHz 5473 MHz 5510 MHz 5547 MHz 5584 MHz 5621 MHz
// Local laws may prohibit the use of these frequencies use at your own risk!
//#define USE_LBAND
#define USE_BOOT_CHECK

// Receiver Module version
// used for tuning time
Expand Down

0 comments on commit 7c458b6

Please sign in to comment.