🏕️ Renames the feature flag
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user