From fe166b149f6e06154afe700a692498ee3877840f Mon Sep 17 00:00:00 2001 From: sfromis <47082390+sfromis@users.noreply.github.com> Date: Sat, 13 Sep 2025 20:44:01 +0200 Subject: [PATCH] Update be_modtab.c, #ifdef nesting for USE_BERRY_ANIMATION (#23905) Adjustment of #ifdef nesting, as confirmed by @s-hadinger https://discord.com/channels/479389167382691863/826169659811168276/1416406702613598228 --- lib/libesp32/berry/default/be_modtab.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libesp32/berry/default/be_modtab.c b/lib/libesp32/berry/default/be_modtab.c index 129fd3cf1..033cf9cf5 100644 --- a/lib/libesp32/berry/default/be_modtab.c +++ b/lib/libesp32/berry/default/be_modtab.c @@ -83,6 +83,8 @@ be_extern_native_module(haspmota); #endif // USE_LVGL_HASPMOTA #endif // USE_LVGL #ifdef USE_MATTER_DEVICE +be_extern_native_module(matter); +#endif // USE_MATTER_DEVICE #ifdef USE_WS2812 #ifdef USE_BERRY_ANIMATION be_extern_native_module(animation); @@ -91,8 +93,6 @@ be_extern_native_module(animation_dsl); #endif // USE_BERRY_ANIMATION_DSL #endif // USE_BERRY_ANIMATION #endif // USE_WS2812 -be_extern_native_module(matter); -#endif // USE_MATTER_DEVICE /* user-defined modules declare start */