Make simulator compile
This commit is contained in:
@ -92,7 +92,7 @@ void VehicleConfigView::updateSelectedParam(int select) {
|
||||
}
|
||||
if (firstWanted < 0) {
|
||||
firstWanted = 0;
|
||||
} else if (firstWanted > ParamType_COUNT - 1) {
|
||||
} else if (firstWanted > (int16_t)(ParamType_COUNT - 1)) {
|
||||
firstWanted = ParamType_COUNT - 1;
|
||||
}
|
||||
params.animateToItem(firstWanted, 0);
|
||||
|
||||
Reference in New Issue
Block a user