File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3333#ifdef RGB_MATRIX_CUSTOM_USER
3434# include "rgb_matrix_user .inc "
3535#endif
36+ #if defined(COMMUNITY_MODULES_ENABLE ) && __has_include ("rgb_matrix_community_modules .inc ")
37+ # include "rgb_matrix_community_modules .inc "
38+ #endif
3639};
3740
3841#define RGB_MATRIX_EFFECT (x ) \
@@ -49,6 +52,9 @@ const char* rgb_matrix_name(uint8_t effect) {
4952#endif
5053#ifdef RGB_MATRIX_CUSTOM_USER
5154# include "rgb_matrix_user.inc"
55+ #endif
56+ #if defined(COMMUNITY_MODULES_ENABLE ) && __has_include ("rgb_matrix_community_modules .inc ")
57+ # include "rgb_matrix_community_modules.inc"
5258#endif
5359 default :
5460 return "UNKNOWN" ;
Original file line number Diff line number Diff line change 4949# ifdef RGB_MATRIX_CUSTOM_USER
5050# include "rgb_matrix_user .inc "
5151# endif
52+ # if defined(COMMUNITY_MODULES_ENABLE ) && __has_include ("rgb_matrix_community_modules .inc ")
53+ # include "rgb_matrix_community_modules .inc "
54+ # endif
5255# undef RGB_MATRIX_EFFECT
5356};
5457
@@ -66,6 +69,9 @@ const char *rgb_matrix_name(uint8_t effect) {
6669# ifdef RGB_MATRIX_CUSTOM_USER
6770# include "rgb_matrix_user.inc"
6871# endif
72+ # if defined(COMMUNITY_MODULES_ENABLE ) && __has_include ("rgb_matrix_community_modules .inc ")
73+ # include "rgb_matrix_community_modules.inc"
74+ # endif
6975# undef RGB_MATRIX_EFFECT
7076 default :
7177 return "UNKNOWN" ;
You can’t perform that action at this time.
0 commit comments