You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sorry im newish to github, tried compiling/building using flipc and got that error, just thought this is a neat little app and would like to have it on my flipper <3
applications_user/is_it_christmas/is_it_christmas.c: In function 'render_callback': applications_user/is_it_christmas/is_it_christmas.c:14:39: error: implicit declaration of function 'acquire_mutex' [-Werror=implicit-function-declaration] 14 | const PluginState* plugin_state = acquire_mutex((ValueMutex*)ctx, 25); | ^~~~~~~~~~~~~ applications_user/is_it_christmas/is_it_christmas.c:14:54: error: 'ValueMutex' undeclared (first use in this function) 14 | const PluginState* plugin_state = acquire_mutex((ValueMutex*)ctx, 25); | ^~~~~~~~~~ applications_user/is_it_christmas/is_it_christmas.c:14:54: note: each undeclared identifier is reported only once for each function it appears in applications_user/is_it_christmas/is_it_christmas.c:14:65: error: expected expression before ')' token 14 | const PluginState* plugin_state = acquire_mutex((ValueMutex*)ctx, 25); | ^ applications_user/is_it_christmas/is_it_christmas.c:33:5: error: implicit declaration of function 'release_mutex' [-Werror=implicit-function-declaration] 33 | release_mutex((ValueMutex*)ctx, plugin_state); | ^~~~~~~~~~~~~ applications_user/is_it_christmas/is_it_christmas.c:33:31: error: expected expression before ')' token 33 | release_mutex((ValueMutex*)ctx, plugin_state); | ^ applications_user/is_it_christmas/is_it_christmas.c:13:57: error: unused parameter 'ctx' [-Werror=unused-parameter] 13 | static void render_callback(Canvas* const canvas, void* ctx) { | ~~~~~~^~~ applications_user/is_it_christmas/is_it_christmas.c: In function 'is_it_christmas_app': applications_user/is_it_christmas/is_it_christmas.c:60:5: error: unknown type name 'ValueMutex' 60 | ValueMutex state_mutex; | ^~~~~~~~~~ applications_user/is_it_christmas/is_it_christmas.c:61:9: error: implicit declaration of function 'init_mutex' [-Werror=implicit-function-declaration] 61 | if(!init_mutex(&state_mutex, plugin_state, sizeof(PluginState))) { | ^~~~~~~~~~ applications_user/is_it_christmas/is_it_christmas.c:80:51: error: implicit declaration of function 'acquire_mutex_block' [-Werror=implicit-function-declaration] 80 | PluginState* plugin_state = (PluginState*)acquire_mutex_block(&state_mutex); | ^~~~~~~~~~~~~~~~~~~ applications_user/is_it_christmas/is_it_christmas.c:104:5: error: implicit declaration of function 'delete_mutex' [-Werror=implicit-function-declaration] 104 | delete_mutex(&state_mutex); | ^~~~~~~~~~~~ cc1: all warnings being treated as errors scons: *** [build/f7-firmware-D/.extapps/is_it_christmas/is_it_christmas.o] Error 1
The text was updated successfully, but these errors were encountered: