Update ModuleSyncStatus::update signature with proper types

Also updates getRefreshString to use the signed types, and display
correctly scaled values.
This commit is contained in:
Bryan Mayland
2021-04-19 22:42:00 +02:00
committed by Raphael Coeffic
parent aa61e1ba19
commit 8a978b5b07
2 changed files with 8 additions and 9 deletions
+1 -1
View File
@@ -306,7 +306,7 @@ struct ModuleSyncStatus
}
// Set feedback from RF module
void update(uint16_t newRefreshRate, uint16_t newInputLag);
void update(uint16_t newRefreshRate, int16_t newInputLag);
// Get computed settings for scheduler
uint16_t getAdjustedRefreshRate();