exo: fix off-by-one

This commit is contained in:
Michael Scire 2019-12-31 13:29:08 -08:00
parent 11ec6a6912
commit 5fbd728962

View File

@ -278,7 +278,7 @@ uint32_t fuse_get_expected_fuse_version(uint32_t target_firmware) {
[ATMOSPHERE_TARGET_FIRMWARE_910] = 12, [ATMOSPHERE_TARGET_FIRMWARE_910] = 12,
}; };
if (target_firmware >= ATMOSPHERE_TARGET_FIRMWARE_COUNT) { if (target_firmware > ATMOSPHERE_TARGET_FIRMWARE_COUNT) {
generic_panic(); generic_panic();
} }