Skip to content

Commit cc68896

Browse files
Merged origin
1 parent 3ebf8c7 commit cc68896

4 files changed

Lines changed: 15 additions & 0 deletions

File tree

Configuration_adv.hpp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,15 @@
2222
#define BUFFER_LOGS false
2323
#endif
2424

25+
#ifndef OAM
26+
#ifndef OAE
27+
#define OAT "OAT"
28+
#endif
29+
#endif
30+
#if defined(OAE) && defined(OAM)
31+
#error "OAE and OAM cannot be defined at the same time"
32+
#endif
33+
2534
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2635
// ////////
2736
// MOTOR & DRIVER SETTINGS ////////

LocalConfiguration.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
#include "Configuration_local_mksgenlv1.hpp"
1717
#elif BOARD == BOARD_ESP32_ESP32DEV && __has_include("Configuration_local_esp32dev.hpp")
1818
#include "Configuration_local_esp32dev.hpp"
19+
#elif BOARD == BOARD_OAE_V1 && __has_include("Configuration_local_oae.hpp")
20+
#include "Configuration_local_oae.hpp"
1921
#elif __has_include("Configuration_local.hpp")
2022
#include "Configuration_local.hpp"
2123
#endif

src/MeadeCommandProcessor.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1273,6 +1273,8 @@ String MeadeCommandProcessor::handleMeadeGetInfo(String inCmd)
12731273
{
12741274
#ifdef OAM
12751275
return "OpenAstroMount#";
1276+
#elif defined(OAE)
1277+
return "OpenAstroExplorer#";
12761278
#else
12771279
return "OpenAstroTracker#";
12781280
#endif

src/b_setup.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,8 @@ void setup()
282282
lcdMenu.setCursor(0, 0);
283283
#ifdef OAM
284284
lcdMenu.printMenu(" OpenAstroMount");
285+
#elif defined(OAE)
286+
lcdMenu.printMenu(" OpenAstroExplorer");
285287
#else
286288
lcdMenu.printMenu("OpenAstroTracker");
287289
#endif

0 commit comments

Comments
 (0)