only:EPIC: Improve toolset for default tune canned tune generation #4871

This commit is contained in:
Andrey 2023-11-25 18:27:24 -05:00
parent 80b65f95fc
commit 13a5e60024
2 changed files with 2 additions and 2 deletions

View File

@ -79,7 +79,7 @@ jobs:
git config --local user.name "GitHub gen-default-tune Action"
echo See https://github.com/rusefi/rusefi/issues/2446
git pull https://github.com/rusefi/rusefi master
git add 'simulator/generated/*xml'
git add 'simulator/generated/*'
# get the original ramdisk images back in order to not overwrite the default placeholder
git checkout -- firmware/hw_layer/mass_storage/ramdisk_image.h firmware/hw_layer/mass_storage/ramdisk_image_compressed.h
# not out place to update live data etc

View File

@ -57,7 +57,7 @@ public class EnumIniField extends IniField {
ordinal = getBitRange(ordinal, bitPosition, bitSize0 + 1);
if (ordinal >= enums.size())
throw new IllegalStateException(ordinal + " in " + getName());
throw new IllegalStateException("Ordinal out of range " + ordinal + " in " + getName());
return "\"" + enums.get(ordinal) + "\"";
}