2025-03-01 15:54:04 -05:00
|
|
|
/*#############################################################################
|
|
|
|
## Author: Shaun Reed ##
|
|
|
|
## Legal: All Content (c) 2025 Shaun Reed, all rights reserved ##
|
|
|
|
## ##
|
|
|
|
## Contact: shaunrd0@gmail.com | URL: www.shaunreed.com ##
|
|
|
|
##############################################################################
|
|
|
|
*/
|
2025-03-01 10:34:24 -05:00
|
|
|
#include "scoped_lock.h"
|
|
|
|
|
|
|
|
// LVGL library is not thread-safe, this example calls LVGL APIs from tasks.
|
|
|
|
// We must use a mutex to protect it.
|
|
|
|
_lock_t ScopedLock::lv_lock_;
|