Skip to content

Commit

Permalink
Fixed warning changes for the 917 ncp
Browse files Browse the repository at this point in the history
  • Loading branch information
shgutte committed Sep 1, 2023
1 parent 5eb7794 commit fde6f95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion build/config/compiler/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ if (current_os == "mac" || current_os == "ios") {
declare_args() {
# Enable -Werror. This can be disabled if using a different compiler
# with unfixed or unsupported wanings.
treat_warnings_as_errors = false
treat_warnings_as_errors = true
}

if (current_cpu == "arm" || current_cpu == "arm64") {
Expand Down
8 changes: 1 addition & 7 deletions examples/platform/silabs/efr32/rs911x/hal/efx32_ncp_host.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#include "gpiointerrupt.h"
#include "sl_si91x_status.h"
#include "sl_constants.h"
#include "rsi_hal.h"
#include <stdbool.h>
#include <string.h>

Expand Down Expand Up @@ -42,7 +43,6 @@ static si91x_packet_queue_t cmd_queues[SI91X_QUEUE_MAX];

extern void si91x_bus_thread(void *args);
extern void si91x_event_handler_thread(void *args);
static void gpio_interrupt(uint8_t interrupt_number);
sl_status_t sli_verify_device_boot(uint32_t *rom_version);
sl_status_t sli_wifi_select_option(const uint8_t configuration);

Expand Down Expand Up @@ -418,12 +418,6 @@ void sl_si91x_host_disable_bus_interrupt(void)
NVIC_DisableIRQ(GPIO_ODD_IRQn);
}

static void gpio_interrupt(uint8_t interrupt_number)
{
UNUSED_PARAMETER(interrupt_number);
sl_si91x_host_set_bus_event(NCP_HOST_BUS_RX_EVENT);
}

sl_status_t si91x_bootup_firmware(const uint8_t select_option)
{
uint32_t rom_version;
Expand Down

0 comments on commit fde6f95

Please sign in to comment.