kopia lustrzana https://github.com/meshtastic/firmware
Changed a RADIOMASTER_900_BANDIT_NANO to DISPLAY_FLIP_SCREEN (#4366)
* More compatible Changed a RADIOMASTER_900_BANDIT_NANO to DISPLAY_FLIP_SCREEN that is responsible for flipping the OLED screen for better compatible with other devices. * Update variant.h Radiomaster Remove a un-used SCREEN_ROTATE and added DISPLAY_FLIP_SCREENpull/4372/head
rodzic
bcdda4de8a
commit
4c1c5b070e
|
@ -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
|
||||
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
#define BUTTON_PIN 39
|
||||
#define BUTTON_NEED_PULLUP
|
||||
|
||||
#define SCREEN_ROTATE
|
||||
#define DISPLAY_FLIP_SCREEN
|
||||
|
||||
/*
|
||||
No External notification.
|
||||
|
@ -81,4 +81,4 @@
|
|||
*/
|
||||
#define RF95_PA_EN 26
|
||||
#define RF95_PA_DAC_EN
|
||||
#define RF95_PA_LEVEL 90
|
||||
#define RF95_PA_LEVEL 90
|
||||
|
|
Ładowanie…
Reference in New Issue