refactor(esp_mm): reformat code with astyle_py

This commit is contained in:
Armando
2023-09-28 15:27:51 +08:00
parent 2144eedb66
commit 3d4b60afc0
5 changed files with 2 additions and 25 deletions
-3
View File
@@ -10,19 +10,16 @@
#include "rom/cache.h"
#include "esp_private/esp_cache_esp32_private.h"
static cache_driver_t s_cache_drv = {
Cache_Flush,
NULL,
};
void cache_register_writeback(cache_driver_t *func)
{
s_cache_drv.cache_writeback_psram = func->cache_writeback_psram;
}
void cache_sync(void)
{
if (s_cache_drv.cache_writeback_psram) {