Skip to content

Commit

Permalink
minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
digant73 committed Sep 26, 2023
1 parent cb3f84c commit 39007c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion TFT/src/User/Menu/Monitoring.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ void menuMonitoring(void)
sprintf(str, "%d ", infoHost.tx_slots);
GUI_DispString(18 * BYTE_WIDTH, ICON_START_Y + 2 * (BYTE_HEIGHT + 4), (uint8_t *)str);

sprintf(str, " %d/%d ", infoMonitoring.tx_cmd_rate, infoMonitoring.tx_bytes_rate);
sprintf(str, "%d/%d ", infoMonitoring.tx_cmd_rate, infoMonitoring.tx_bytes_rate);
GUI_DispString(18 * BYTE_WIDTH, ICON_START_Y + 3 * (BYTE_HEIGHT + 4), (uint8_t *)str);

sprintf(str, "%d/%d ", infoMonitoring.rx_ack_rate, infoMonitoring.rx_bytes_rate);
Expand Down
3 changes: 2 additions & 1 deletion TFT/src/User/os_timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@ void TIMER6_IRQHandler(void)

if (os_counter % 1000 == 0)
{
AVG_KPIS(); // debug monitoring KPI

updatePrintTime();
AVG_SCAN_RATE(); // debug monitoring KPI
}

loopTouchScreen();
Expand Down

0 comments on commit 39007c7

Please sign in to comment.