Автоопределение JTAG

This commit is contained in:
cfif 2026-07-02 14:38:44 +03:00
parent c1dd1a2b19
commit fd5951a6e5
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ static void Boot2App(void) {
} }
bool is_jtag_debug_active(void) { static bool is_jtag_debug_active(void) {
// Проверяем, включена ли отладка // Проверяем, включена ли отладка
return (CoreDebug->DHCSR & CoreDebug_DHCSR_C_DEBUGEN_Msk) != 0; return (CoreDebug->DHCSR & CoreDebug_DHCSR_C_DEBUGEN_Msk) != 0;
} }