FluxDC/main/main.cpp

26 lines
448 B
C++
Raw Normal View History

/*
* SPDX-FileCopyrightText: 2021-2024 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: CC0-1.0
*/
#include "main.h"
extern "C" void app_main(void)
{
/*<2A><>ʼ<EFBFBD><CABC><EFBFBD><EFBFBD>ʾ<EFBFBD>ӿ<EFBFBD>*/
initialize_display_and_touch();
// Lock the mutex due to the LVGL APIs are not thread-safe
//<2F>޸<EFBFBD>UI<55><49><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Դǰ<D4B4><C7B0>Ҫ<EFBFBD><D2AA><EFBFBD><EFBFBD>ס<EFBFBD><D7A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
if (example_lvgl_lock(-1)) {
// Release the mutex
example_lvgl_unlock();
}
}