mirror of https://github.com/ArduPilot/ardupilot
CPUInfo: use HAL_XIP_ENABLED
This commit is contained in:
parent
26c59349d5
commit
d04f8fe655
|
@ -45,7 +45,7 @@ AP_ESC_Telem telem;
|
|||
|
||||
void setup() {
|
||||
#ifdef DISABLE_CACHES
|
||||
#if !defined(STM32H730xx) // can't disable DCache in memory-mapped mode
|
||||
#if !HAL_XIP_ENABLED // can't disable DCache in memory-mapped mode
|
||||
SCB_DisableDCache();
|
||||
#endif
|
||||
SCB_DisableICache();
|
||||
|
|
Loading…
Reference in New Issue