mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #4101 from adamgreen/fixDisableDebugToSupportMoreInterfaceFirmwareRevs
Modify semihost_disabledebug() to support more interface FW revspull/4128/head
commit
cb4e055e19
|
@ -152,10 +152,11 @@ int semihost_connected(void) {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int semihost_disabledebug(void) {
|
int semihost_disabledebug(void) {
|
||||||
|
uint32_t args[1];
|
||||||
#if !(DEVICE_DEBUG_AWARENESS)
|
#if !(DEVICE_DEBUG_AWARENESS)
|
||||||
is_debugger_attached = 0;
|
is_debugger_attached = 0;
|
||||||
#endif
|
#endif
|
||||||
return __semihost(USR_DISABLEDEBUG, NULL);
|
return __semihost(USR_DISABLEDEBUG, &args);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue