- 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:
@@ -2046,7 +2046,7 @@ int cfi_info(struct flash_bank_s *bank, char *buf, int buf_size)
|
||||
int printed;
|
||||
cfi_flash_bank_t *cfi_info = bank->driver_priv;
|
||||
|
||||
if (cfi_info->qry[0] == -1)
|
||||
if (cfi_info->qry[0] == (char)-1)
|
||||
{
|
||||
printed = snprintf(buf, buf_size, "\ncfi flash bank not probed yet\n");
|
||||
return ERROR_OK;
|
||||
|
||||
Reference in New Issue
Block a user