Skip to content

Commit

Permalink
Hide unused parameter warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
mikee47 committed Dec 12, 2024
1 parent e0d7d39 commit ae99690
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Sming/Arch/Esp32/Components/driver/include/driver/hw_timer.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,14 @@
#include <stdint.h>
#include <esp_idf_version.h>

#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#if CONFIG_ESP_TIMER_IMPL_TG0_LAC
#include <soc/timer_group_reg.h>
#else
#include <hal/systimer_ll.h>
#endif
#pragma GCC diagnostic pop

#ifdef __cplusplus
extern "C" {
Expand Down

0 comments on commit ae99690

Please sign in to comment.