diff --git a/esphome/components/zephyr/core.cpp b/esphome/components/zephyr/core.cpp index aab249402d..1c937dfa06 100644 --- a/esphome/components/zephyr/core.cpp +++ b/esphome/components/zephyr/core.cpp @@ -49,7 +49,7 @@ Mutex::~Mutex() { delete static_cast(this->handle_); } void Mutex::lock() { k_mutex_lock(static_cast(this->handle_), K_FOREVER); } bool Mutex::try_lock() { return k_mutex_lock(static_cast(this->handle_), K_NO_WAIT) == 0; } void Mutex::unlock() { k_mutex_unlock(static_cast(this->handle_)); } -uint32_t random_uint32() { return rand(); } +uint32_t random_uint32() { return rand(); } // NOLINT(cert-msc30-c, cert-msc50-cpp) } // namespace esphome