[X9E] Compilation fix on recent gcc
This commit is contained in:
@@ -262,7 +262,7 @@ void setTopFirstTimer(int32_t value)
|
||||
}
|
||||
}
|
||||
|
||||
div_t qr = div(value, 60);
|
||||
div_t qr = div((int)value, 60);
|
||||
uint32_t r = qr.rem;
|
||||
qr = div(qr.quot, 10);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user