Skip to content

Commit

Permalink
Removed device rev in stats
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieucarbou committed Jan 6, 2025
1 parent 4245797 commit 9b187c6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion include/i18n/en.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#define YASOLR_LBL_009 "Device: Heap Memory Used (bytes)"
#define YASOLR_LBL_010 "Device: ID"
#define YASOLR_LBL_011 "Device: Model"
#define YASOLR_LBL_012 "Device: Revision"
// #define YASOLR_LBL_012
#define YASOLR_LBL_013 "Firmware: Build Hash"
#define YASOLR_LBL_014 "Firmware: Build Timestamp"
#define YASOLR_LBL_015 "Firmware: Filename"
Expand Down
2 changes: 1 addition & 1 deletion include/i18n/fr.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#define YASOLR_LBL_009 "Micro-contrôleur: Mémoire Heap: utilisée (bytes)"
#define YASOLR_LBL_010 "Micro-contrôleur: ID"
#define YASOLR_LBL_011 "Micro-contrôleur: Modèle"
#define YASOLR_LBL_012 "Micro-contrôleur: Révision"
// #define YASOLR_LBL_012
#define YASOLR_LBL_013 "Micro-logiciel: Hachage de construction"
#define YASOLR_LBL_014 "Micro-logiciel: Date de construction"
#define YASOLR_LBL_015 "Micro-logiciel: Nom de fichier"
Expand Down
2 changes: 0 additions & 2 deletions src/yasolr_dashboard.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ dash::StatisticValue<float, 2> _deviceHeapUsage(dashboard, YASOLR_LBL_008);
dash::StatisticValue<size_t> _deviceHeapUsed(dashboard, YASOLR_LBL_009);
dash::StatisticValue<const char*> _deviceID(dashboard, YASOLR_LBL_010);
dash::StatisticValue<const char*> _deviceModel(dashboard, YASOLR_LBL_011);
dash::StatisticValue<uint16_t> _deviceRev(dashboard, YASOLR_LBL_012);

dash::StatisticValue<const char*> _firmwareBuildHash(dashboard, YASOLR_LBL_013);
dash::StatisticValue<const char*> _firmwareBuildTimestamp(dashboard, YASOLR_LBL_014);
Expand Down Expand Up @@ -851,7 +850,6 @@ void YaSolR::Website::initCards() {
_deviceCores.setValue(ESP.getChipCores());
_deviceID.setValue(Mycila::AppInfo.id.c_str());
_deviceModel.setValue(ESP.getChipModel());
_deviceRev.setValue(ESP.getChipRevision());
_firmwareBuildHash.setValue(Mycila::AppInfo.buildHash.c_str());
_firmwareBuildTimestamp.setValue(Mycila::AppInfo.buildDate.c_str());
_firmwareFilename.setValue(Mycila::AppInfo.firmware.c_str());
Expand Down

0 comments on commit 9b187c6

Please sign in to comment.