Skip to content

Commit dc746fb

Browse files
committed
Fix merge issues after update from RC
1 parent 5bc7158 commit dc746fb

File tree

5 files changed

+13
-11
lines changed

5 files changed

+13
-11
lines changed

Firmware/RTK_Everywhere/Bluetooth.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@
2929

3030
static volatile BTState bluetoothState = BT_OFF;
3131

32+
BluetoothRadioType_e bluetoothRadioPreviousOnType = BLUETOOTH_RADIO_OFF;
33+
3234
#ifdef COMPILE_BT
3335

3436
#include <BleBatteryService.h>
@@ -48,8 +50,6 @@ BleBatteryService bluetoothBatteryService;
4850

4951
TaskHandle_t bluetoothCommandTaskHandle = nullptr; // Task to monitor incoming CLI from BLE
5052

51-
BluetoothRadioType_e bluetoothRadioPreviousOnType = BLUETOOTH_RADIO_OFF;
52-
5353
#endif // COMPILE_BT
5454

5555
//----------------------------------------

Firmware/RTK_Everywhere/GNSS_LG290P.ino

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1889,6 +1889,8 @@ bool GNSS_LG290P::setHighAccuracyService(bool enableGalileoHas)
18891889

18901890
// TODO - We should read/modify/write on PQTMCFGPPP
18911891

1892+
bool result = true;
1893+
18921894
// Enable E6 and PPP if enabled
18931895
if (enableGalileoHas)
18941896
{
@@ -1899,7 +1901,7 @@ bool GNSS_LG290P::setHighAccuracyService(bool enableGalileoHas)
18991901
// Enable E6 HAS, WGS84, 120 timeout, 0.10m Horizontal convergence accuracy threshold, 0.15m Vertical
19001902
// threshold
19011903
char paramConfigurePPP[sizeof(settings.configurePPP) + 4];
1902-
snprintf(paramConfigurePPP, sizeof(paramConfigurePPP), ",W,%s", configPppSpacesToCommas(configurePPP));
1904+
snprintf(paramConfigurePPP, sizeof(paramConfigurePPP), ",W,%s", configPppSpacesToCommas(settings.configurePPP));
19031905
if (_lg290p->sendOkCommand("$PQTMCFGPPP", paramConfigurePPP) == true)
19041906
{
19051907
systemPrintln("Galileo E6 HAS service enabled");

Firmware/RTK_Everywhere/WiFi.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1266,7 +1266,7 @@ void wifiUpdateSettings()
12661266

12671267
//*********************************************************************
12681268
// Determine if any of the WiFi station SSID values are set
1269-
bool wifiAfterCommand(int cmdIndex)
1269+
bool wifiAfterCommand(const char *settingName, void *settingData, int settingType)
12701270
{
12711271
wifiUpdateSettings();
12721272
return true;

Firmware/RTK_Everywhere/menuMessages.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ void menuMessagesBaseRTCM()
270270
if (elevation >= -90 && elevation <= 90)
271271
{
272272
settings.rtcmMinElev = elevation;
273-
restartBase = true;
273+
gnssConfigure(GNSS_CONFIG_ELEVATION); // Request receiver to use new settings
274274
}
275275
}
276276

@@ -888,7 +888,7 @@ void checkGNSSArrayDefaults()
888888
}
889889
else if (present.gnss_lg290p)
890890
{
891-
settings.minCNO = 10; // Default 10 dBHz
891+
settings.minCN0 = 10; // Default 10 dBHz
892892
settings.surveyInStartingAccuracy = 2.0; // Default 2m
893893
settings.measurementRateMs = 500; // Default 2Hz.
894894
}

Firmware/RTK_Everywhere/settings.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1205,7 +1205,7 @@ typedef enum
12051205
typedef bool (* AFTER_CMD)(const char *settingName, void *settingData, int settingType);
12061206

12071207
// Forward routines
1208-
bool wifiAfterCommand(int cmdIndex);
1208+
bool wifiAfterCommand(const char *settingName, void *settingData, int settingType);
12091209

12101210
typedef struct
12111211
{
@@ -1799,10 +1799,10 @@ const RTK_Settings_Entry rtkSettingsEntries[] =
17991799
// WiFi
18001800
{ 0, 0, 0, 1, 1, 1, 1, 1, 1, ALL, 1, _bool, 0, & settings.debugWebServer, "debugWebServer", nullptr, },
18011801
{ 0, 0, 0, 1, 1, 1, 1, 1, 1, ALL, 1, _bool, 0, & settings.debugWifiState, "debugWifiState", nullptr, },
1802-
{ 0, 0, 0, 1, 1, 1, 1, 1, 1, ALL, 1, _bool, 0, & settings.enableCaptivePortal, "enableCaptivePortal", wifiAfterCommand, },
1803-
{ 0, 1, 0, 1, 1, 1, 1, 1, 1, ALL, 1, _uint8_t, 0, & settings.wifiChannel, "wifiChannel", wifiAfterCommand, },
1804-
{ 1, 0, 0, 1, 1, 1, 1, 1, 1, ALL, 1, _bool, 0, & settings.wifiConfigOverAP, "wifiConfigOverAP", wifiAfterCommand, },
1805-
{ 1, 1, 1, 1, 1, 1, 1, 1, 1, ALL, 1, tWiFiNet, MAX_WIFI_NETWORKS, & settings.wifiNetworks, "wifiNetwork_", wifiAfterCommand, },
1802+
{ 0, 0, 0, 1, 1, 1, 1, 1, 1, ALL, 1, _bool, 0, & settings.enableCaptivePortal, "enableCaptivePortal", nullptr, },
1803+
{ 0, 1, 0, 1, 1, 1, 1, 1, 1, ALL, 1, _uint8_t, 0, & settings.wifiChannel, "wifiChannel", nullptr, },
1804+
{ 1, 0, 0, 1, 1, 1, 1, 1, 1, ALL, 1, _bool, 0, & settings.wifiConfigOverAP, "wifiConfigOverAP", nullptr, },
1805+
{ 1, 1, 1, 1, 1, 1, 1, 1, 1, ALL, 1, tWiFiNet, MAX_WIFI_NETWORKS, & settings.wifiNetworks, "wifiNetwork_", nullptr, },
18061806
{ 0, 0, 0, 1, 1, 1, 1, 1, 1, ALL, 1, _uint32_t, 0, & settings.wifiConnectTimeoutMs, "wifiConnectTimeoutMs", nullptr, },
18071807

18081808
{ 0, 1, 0, 1, 1, 1, 1, 1, 1, ALL, 1, _bool, 0, & settings.outputTipAltitude, "outputTipAltitude", nullptr, },

0 commit comments

Comments
 (0)