Skip to content

Commit

Permalink
Fix deprecated header include
Browse files Browse the repository at this point in the history
  • Loading branch information
mikee47 committed Jan 31, 2024
1 parent 5423724 commit 4612cb2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Sming/Arch/Esp32/Components/esp32/src/include/esp_clk.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
#pragma once

#include <c_types.h>
#if ESP_IDF_VERSION_MAJOR < 5
#include <hal/cpu_hal.h>
#else
#include <esp_cpu.h>
#endif
#include <sming_attr.h>
#include <esp_idf_version.h>

Expand Down

0 comments on commit 4612cb2

Please sign in to comment.