🏕️ Renames the feature flag

This commit is contained in:
Rune Harlyk
2024-08-19 18:23:37 +02:00
committed by Rune Harlyk
parent cf55bf509e
commit 586dbc7a9a
14 changed files with 140 additions and 140 deletions
+12 -12
View File
@@ -22,18 +22,18 @@ void FeaturesService::begin() {
PsychicJsonResponse response = PsychicJsonResponse(request, false);
JsonObject root = response.getRoot();
root["security"] = FT_SECURITY;
root["ntp"] = FT_NTP;
root["upload_firmware"] = FT_UPLOAD_FIRMWARE;
root["download_firmware"] = FT_DOWNLOAD_FIRMWARE;
root["sleep"] = FT_SLEEP;
root["battery"] = FT_BATTERY;
root["analytics"] = FT_ANALYTICS;
root["camera"] = FT_CAMERA;
root["imu"] = FT_IMU;
root["mag"] = FT_MAG;
root["bmp"] = FT_BMP;
root["sonar"] = FT_USS;
root["security"] = USE_SECURITY;
root["ntp"] = USE_NTP;
root["upload_firmware"] = USE_UPLOAD_FIRMWARE;
root["download_firmware"] = USE_DOWNLOAD_FIRMWARE;
root["sleep"] = USE_SLEEP;
root["battery"] = USE_BATTERY;
root["analytics"] = USE_ANALYTICS;
root["camera"] = USE_CAMERA;
root["imu"] = USE_IMU;
root["mag"] = USE_MAG;
root["bmp"] = USE_BMP;
root["sonar"] = USE_USS;
root["firmware_version"] = APP_VERSION;
root["firmware_name"] = APP_NAME;
root["firmware_built_target"] = BUILD_TARGET;