Fix userConfirmation scroll speed (#878)
This commit is contained in:
@@ -276,7 +276,7 @@ static int userConfirmation(const char *message) {
|
|||||||
bool lcdRefresh = true;
|
bool lcdRefresh = true;
|
||||||
|
|
||||||
for (;;) {
|
for (;;) {
|
||||||
int16_t messageOffset = ((xTaskGetTickCount() - messageStart) / (systemSettings.descriptionScrollSpeed == 1 ? TICKS_100MS : (TICKS_100MS * 2)));
|
int16_t messageOffset = ((xTaskGetTickCount() - messageStart) / (systemSettings.descriptionScrollSpeed == 1 ? TICKS_100MS / 10 : (TICKS_100MS / 5)));
|
||||||
messageOffset %= messageWidth; // Roll around at the end
|
messageOffset %= messageWidth; // Roll around at the end
|
||||||
|
|
||||||
if (lastOffset != messageOffset) {
|
if (lastOffset != messageOffset) {
|
||||||
|
|||||||
Reference in New Issue
Block a user