mirror of
https://github.com/esphome/esphome.git
synced 2024-11-30 10:44:13 +01:00
[helpers] Add NOLINT for Mutex private field `handle_
` (#7838)
This commit is contained in:
parent
b027b6a711
commit
bdb91112ea
1 changed files with 2 additions and 1 deletions
|
@ -565,7 +565,8 @@ class Mutex {
|
||||||
#if defined(USE_ESP32) || defined(USE_LIBRETINY)
|
#if defined(USE_ESP32) || defined(USE_LIBRETINY)
|
||||||
SemaphoreHandle_t handle_;
|
SemaphoreHandle_t handle_;
|
||||||
#else
|
#else
|
||||||
void *handle_; // d-pointer to store private data on new platforms
|
// d-pointer to store private data on new platforms
|
||||||
|
void *handle_; // NOLINT(clang-diagnostic-unused-private-field)
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue