Merge pull request #4101 from adamgreen/fixDisableDebugToSupportMoreInterfaceFirmwareRevs

Modify semihost_disabledebug() to support more interface FW revs
pull/4128/head
Sam Grove 2017-04-06 10:54:19 -05:00 committed by GitHub
commit cb4e055e19
1 changed files with 2 additions and 1 deletions

View File

@ -152,10 +152,11 @@ int semihost_connected(void) {
#endif
int semihost_disabledebug(void) {
uint32_t args[1];
#if !(DEVICE_DEBUG_AWARENESS)
is_debugger_attached = 0;
#endif
return __semihost(USR_DISABLEDEBUG, NULL);
return __semihost(USR_DISABLEDEBUG, &args);
}
#endif