Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed a RADIOMASTER_900_BANDIT_NANO to DISPLAY_FLIP_SCREEN #4366

Merged
merged 2 commits into from
Aug 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/mesh/NodeDB.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ void NodeDB::installDefaultConfig()
meshtastic_Config_PositionConfig_PositionFlags_SPEED | meshtastic_Config_PositionConfig_PositionFlags_HEADING |
meshtastic_Config_PositionConfig_PositionFlags_DOP | meshtastic_Config_PositionConfig_PositionFlags_SATINVIEW);

#ifdef RADIOMASTER_900_BANDIT_NANO
#ifdef DISPLAY_FLIP_SCREEN
config.display.flip_screen = true;
#endif
#ifdef T_WATCH_S3
Expand Down Expand Up @@ -1054,4 +1054,4 @@ void recordCriticalError(meshtastic_CriticalErrorCode code, uint32_t address, co
LOG_ERROR("A critical failure occurred, portduino is exiting...");
exit(2);
#endif
}
}
4 changes: 2 additions & 2 deletions variants/radiomaster_900_bandit_nano/variant.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
#define BUTTON_PIN 39
#define BUTTON_NEED_PULLUP

#define SCREEN_ROTATE
#define DISPLAY_FLIP_SCREEN

/*
No External notification.
Expand Down Expand Up @@ -81,4 +81,4 @@
*/
#define RF95_PA_EN 26
#define RF95_PA_DAC_EN
#define RF95_PA_LEVEL 90
#define RF95_PA_LEVEL 90
Loading