mirror of
https://github.com/meshtastic/firmware.git
synced 2025-08-03 04:15:53 +00:00

* Fix LED pinout for T-Echo board marked v1.0, date 2021-6-28 * Merge PR #420 * Fixed double and missing Default class. * Use correct format specifier and fixed typo. * Removed duplicate code. * Fix error: #if with no expression * Fix warning: extra tokens at end of #endif directive. * Fix antenna switching logic. Complementary-pin control logic is required on the rp2040-lora board. * Fix deprecated macros. * Set RP2040 in dormant mode when deep sleep is triggered. * Fix array out of bounds read. * Admin key count needs to be set otherwise the key will be zero loaded after reset. * Don't reset the admin key size when loading defaults. Preserve an existing key in config if possible. * Remove log spam when reading INA voltage sensor. * Remove static declaration for admin keys from userPrefs.h. Load hard coded admin keys in case config file has empty slots. * Removed newlines from log. * Fix issue #5665. * Fix build for Pico2 RP2350 platform. * Enable Wifi client on Pico2W. * Use correct processor on Pico2. * Fix deprecated warning. * Update platform and framework for RP2350. * Added Pico2W variant including Wifi support. * Fix typo in used variant. * Remove obsolete define. * Fix for native Linux build. * Simplify RP2350 platform tag reference. Co-authored-by: Austin <vidplace7@gmail.com> * Cast user prefs strings. * Update to last successfully building platform package. * Define I2C GPIOs to ensure usage of both ports. Possibly fixes #5361 * RAK11310 support for RAK12002 RTC added. * Update platform and framework packages to 4.4.3. * Use RP2040 base platform and framework package. Use RAK11300 board definition in arduino-pico framework. * Use RAK11300 board definition in arduino-pico framework. * Fix build when MESHTASTIC_EXCLUDE_GPS is defined. --------- Co-authored-by: Ben Meadors <benmmeadors@gmail.com> Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com> Co-authored-by: GUVWAF <78759985+GUVWAF@users.noreply.github.com> Co-authored-by: Austin <vidplace7@gmail.com> Co-authored-by: Tom Fifield <tom@tomfifield.net>
42 lines
1.0 KiB
C++
42 lines
1.0 KiB
C++
#include "configuration.h"
|
|
namespace graphics
|
|
{
|
|
|
|
class menuHandler
|
|
{
|
|
public:
|
|
enum screenMenus {
|
|
menu_none,
|
|
lora_picker,
|
|
TZ_picker,
|
|
twelve_hour_picker,
|
|
clock_face_picker,
|
|
clock_menu,
|
|
position_base_menu,
|
|
#if !MESHTASTIC_EXCLUDE_GPS
|
|
gps_toggle_menu,
|
|
#endif
|
|
compass_point_north_menu,
|
|
reset_node_db_menu
|
|
};
|
|
static screenMenus menuQueue;
|
|
|
|
static void LoraRegionPicker(uint32_t duration = 30000);
|
|
static void handleMenuSwitch();
|
|
static void clockMenu();
|
|
static void TZPicker();
|
|
static void TwelveHourPicker();
|
|
static void ClockFacePicker();
|
|
static void messageResponseMenu();
|
|
static void homeBaseMenu();
|
|
static void favoriteBaseMenu();
|
|
static void positionBaseMenu();
|
|
static void compassNorthMenu();
|
|
static void GPSToggleMenu();
|
|
static void BuzzerModeMenu();
|
|
static void switchToMUIMenu();
|
|
static void nodeListMenu();
|
|
static void resetNodeDBMenu();
|
|
};
|
|
|
|
} // namespace graphics
|