Skip to content

Commit

Permalink
Update sl_newlight example. disable rgb led widget until it complies …
Browse files Browse the repository at this point in the history
…with SPAM
  • Loading branch information
jmartinez-silabs committed Aug 22, 2023
1 parent 518a3f7 commit 5142fbb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 2 additions & 1 deletion silabs_examples/sl-newLight/efr32/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ declare_args() {
}

if (silabs_board == "BRD4166A" || silabs_board == "BRD2601B") {
rgb_led = true
# TODO: Update ledwigget/SPAM to support RGB
#rgb_led = true
}

efr32_sdk("sdk") {
Expand Down
4 changes: 1 addition & 3 deletions silabs_examples/sl-newLight/efr32/src/AppTask.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@
#include "led_widget_rgb.h"
#endif //RGB_LED_ENABLED

#include "sl_simple_led_instances.h"

#include <app/clusters/identify-server/identify-server.h>
#include <app/clusters/on-off-server/on-off-server.h>
#include <app/server/OnboardingCodesUtil.h>
Expand All @@ -42,7 +40,7 @@

#include <platform/CHIPDeviceLayer.h>

#define LIGHT_LED &sl_led_led1
#define LIGHT_LED 1
#define APP_FUNCTION_BUTTON &sl_button_btn0
#define APP_LIGHT_SWITCH &sl_button_btn1

Expand Down

0 comments on commit 5142fbb

Please sign in to comment.