Zach Welch <zw@superlucidity.net> use ARM4_5_MODE_ANY instead of -1
git-svn-id: svn://svn.berlios.de/openocd/trunk@1474 b42882b7-edfa-0310-969c-e2dbd0fdcd60__archive__
parent
a2c1cbe3e3
commit
d1ab0a9698
|
@ -133,7 +133,7 @@ static __inline enum armv4_5_mode armv4_5_number_to_mode(int number)
|
||||||
case 6: return ARMV4_5_MODE_SYS; break;
|
case 6: return ARMV4_5_MODE_SYS; break;
|
||||||
default:
|
default:
|
||||||
LOG_ERROR("mode index out of bounds");
|
LOG_ERROR("mode index out of bounds");
|
||||||
return -1;
|
return ARMV4_5_MODE_ANY;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue