forked from auracaster/openocd
- Fixing two compiler warnings
- Reducing stack usage for recursive scripts - Do not exit on bogus arguments to reset_config. No longer exit the application upon bogus arguments to reset_config, but return errors. thanks to Øyvind Harboe for these patches. git-svn-id: svn://svn.berlios.de/openocd/trunk@226 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
@@ -674,7 +674,7 @@ int at91sam7_erase(struct flash_bank_s *bank, int first, int last)
|
||||
|
||||
int at91sam7_protect(struct flash_bank_s *bank, int set, int first, int last)
|
||||
{
|
||||
u32 cmd, pagen, status;
|
||||
u32 cmd, pagen;
|
||||
u8 flashplane;
|
||||
int lockregion;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user