Skip to content

Commit

Permalink
Remove temp code
Browse files Browse the repository at this point in the history
  • Loading branch information
rosahay-silabs committed Oct 10, 2023
1 parent ac9147c commit 5966818
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 43 deletions.
4 changes: 0 additions & 4 deletions examples/platform/silabs/efr32/rs911x/hal/efx_spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,6 @@ void SPIDRV_SetBaudrate(uint32_t baudrate)

sl_status_t sl_wfx_host_spi_cs_assert(void)
{
// SILABS_LOG("sl_wfx_host_spi_cs_assert started.");
xSemaphoreTake(spi_sem_sync_hdl, portMAX_DELAY);

if (!spi_enabled) // Reduce sl_spidrv_init_instances
Expand All @@ -238,13 +237,11 @@ sl_status_t sl_wfx_host_spi_cs_assert(void)
#endif // EFR32MG24
spi_enabled = true;
}
// SILABS_LOG("sl_wfx_host_spi_cs_assert completed.");
return SL_STATUS_OK;
}

sl_status_t sl_wfx_host_spi_cs_deassert(void)
{
// SILABS_LOG("sl_wfx_host_spi_cs_deassert started.");
if (spi_enabled)
{
if (ECODE_EMDRV_SPIDRV_OK != SPIDRV_DeInit(SL_SPIDRV_HANDLE))
Expand All @@ -260,7 +257,6 @@ sl_status_t sl_wfx_host_spi_cs_deassert(void)
spi_enabled = false;
}
xSemaphoreGive(spi_sem_sync_hdl);
// SILABS_LOG("sl_wfx_host_spi_cs_deassert completed.");
return SL_STATUS_OK;
}
#endif // SL_SPICTRL_MUX
Expand Down
39 changes: 0 additions & 39 deletions gn_build_silabs_wifi.sh

This file was deleted.

0 comments on commit 5966818

Please sign in to comment.