mirror of
https://github.com/esphome/esphome.git
synced 2025-03-15 15:18:16 +00:00
fix clang tidy
This commit is contained in:
parent
4dae54931e
commit
de7fc059ce
@ -49,7 +49,7 @@ Mutex::~Mutex() { delete static_cast<k_mutex *>(this->handle_); }
|
||||
void Mutex::lock() { k_mutex_lock(static_cast<k_mutex *>(this->handle_), K_FOREVER); }
|
||||
bool Mutex::try_lock() { return k_mutex_lock(static_cast<k_mutex *>(this->handle_), K_NO_WAIT) == 0; }
|
||||
void Mutex::unlock() { k_mutex_unlock(static_cast<k_mutex *>(this->handle_)); }
|
||||
uint32_t random_uint32() { return rand(); }
|
||||
uint32_t random_uint32() { return rand(); } // NOLINT(cert-msc30-c, cert-msc50-cpp)
|
||||
|
||||
} // namespace esphome
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user