@@ -263,8 +263,6 @@ static void update_telemetry(void)
263263 telemetry [FAN_RPM ] = GetFanRPM (); /* Actual fan RPM */
264264 UpdateGddrTelemetry ();
265265 telemetry [MAX_GDDR_TEMP ] = GetMaxGDDRTemp ();
266- telemetry [INPUT_CURRENT ] =
267- GetInputCurrent (); /* Input current - reported in A in signed int 16.16 format */
268266 telemetry [INPUT_POWER ] =
269267 GetInputPower (); /* Input power - reported in W in unsigned int 16.16 format */
270268 telemetry [TIMER_HEARTBEAT ]++ ; /* Incremented every time the timer is called */
@@ -310,23 +308,22 @@ static void update_tag_table(void)
310308 tag_table [34 ] = (struct telemetry_entry ){TAG_ENABLED_GDDR , ENABLED_GDDR };
311309 tag_table [35 ] = (struct telemetry_entry ){TAG_ENABLED_L2CPU , ENABLED_L2CPU };
312310 tag_table [36 ] = (struct telemetry_entry ){TAG_PCIE_USAGE , PCIE_USAGE };
313- tag_table [37 ] = (struct telemetry_entry ){TAG_INPUT_CURRENT , INPUT_CURRENT };
314- tag_table [38 ] = (struct telemetry_entry ){TAG_NOC_TRANSLATION , NOC_TRANSLATION };
315- tag_table [39 ] = (struct telemetry_entry ){TAG_FAN_RPM , FAN_RPM };
316- tag_table [40 ] = (struct telemetry_entry ){TAG_GDDR_0_1_TEMP , GDDR_0_1_TEMP };
317- tag_table [41 ] = (struct telemetry_entry ){TAG_GDDR_2_3_TEMP , GDDR_2_3_TEMP };
318- tag_table [42 ] = (struct telemetry_entry ){TAG_GDDR_4_5_TEMP , GDDR_4_5_TEMP };
319- tag_table [43 ] = (struct telemetry_entry ){TAG_GDDR_6_7_TEMP , GDDR_6_7_TEMP };
320- tag_table [44 ] = (struct telemetry_entry ){TAG_GDDR_0_1_CORR_ERRS , GDDR_0_1_CORR_ERRS };
321- tag_table [45 ] = (struct telemetry_entry ){TAG_GDDR_2_3_CORR_ERRS , GDDR_2_3_CORR_ERRS };
322- tag_table [46 ] = (struct telemetry_entry ){TAG_GDDR_4_5_CORR_ERRS , GDDR_4_5_CORR_ERRS };
323- tag_table [47 ] = (struct telemetry_entry ){TAG_GDDR_6_7_CORR_ERRS , GDDR_6_7_CORR_ERRS };
324- tag_table [48 ] = (struct telemetry_entry ){TAG_GDDR_UNCORR_ERRS , GDDR_UNCORR_ERRS };
325- tag_table [49 ] = (struct telemetry_entry ){TAG_MAX_GDDR_TEMP , MAX_GDDR_TEMP };
326- tag_table [50 ] = (struct telemetry_entry ){TAG_ASIC_LOCATION , ASIC_LOCATION };
327- tag_table [51 ] = (struct telemetry_entry ){TAG_BOARD_PWR_LIMIT , BOARD_PWR_LIMIT };
328- tag_table [52 ] = (struct telemetry_entry ){TAG_INPUT_POWER , INPUT_POWER };
329- tag_table [53 ] = (struct telemetry_entry ){TAG_TELEM_ENUM_COUNT , TELEM_ENUM_COUNT };
311+ tag_table [37 ] = (struct telemetry_entry ){TAG_NOC_TRANSLATION , NOC_TRANSLATION };
312+ tag_table [38 ] = (struct telemetry_entry ){TAG_FAN_RPM , FAN_RPM };
313+ tag_table [39 ] = (struct telemetry_entry ){TAG_GDDR_0_1_TEMP , GDDR_0_1_TEMP };
314+ tag_table [40 ] = (struct telemetry_entry ){TAG_GDDR_2_3_TEMP , GDDR_2_3_TEMP };
315+ tag_table [41 ] = (struct telemetry_entry ){TAG_GDDR_4_5_TEMP , GDDR_4_5_TEMP };
316+ tag_table [42 ] = (struct telemetry_entry ){TAG_GDDR_6_7_TEMP , GDDR_6_7_TEMP };
317+ tag_table [43 ] = (struct telemetry_entry ){TAG_GDDR_0_1_CORR_ERRS , GDDR_0_1_CORR_ERRS };
318+ tag_table [44 ] = (struct telemetry_entry ){TAG_GDDR_2_3_CORR_ERRS , GDDR_2_3_CORR_ERRS };
319+ tag_table [45 ] = (struct telemetry_entry ){TAG_GDDR_4_5_CORR_ERRS , GDDR_4_5_CORR_ERRS };
320+ tag_table [46 ] = (struct telemetry_entry ){TAG_GDDR_6_7_CORR_ERRS , GDDR_6_7_CORR_ERRS };
321+ tag_table [47 ] = (struct telemetry_entry ){TAG_GDDR_UNCORR_ERRS , GDDR_UNCORR_ERRS };
322+ tag_table [48 ] = (struct telemetry_entry ){TAG_MAX_GDDR_TEMP , MAX_GDDR_TEMP };
323+ tag_table [49 ] = (struct telemetry_entry ){TAG_ASIC_LOCATION , ASIC_LOCATION };
324+ tag_table [50 ] = (struct telemetry_entry ){TAG_BOARD_PWR_LIMIT , BOARD_PWR_LIMIT };
325+ tag_table [51 ] = (struct telemetry_entry ){TAG_INPUT_POWER , INPUT_POWER };
326+ tag_table [52 ] = (struct telemetry_entry ){TAG_TELEM_ENUM_COUNT , TELEM_ENUM_COUNT };
330327}
331328
332329/* Handler functions for zephyr timer and worker objects */
0 commit comments