Skip to content

Commit

Permalink
Unlock DotStar SPI before deinit
Browse files Browse the repository at this point in the history
  • Loading branch information
tannewt committed Aug 21, 2024
1 parent 07452b2 commit 28f3d91
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions supervisor/shared/status_leds.c
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,10 @@ void status_led_deinit() {

#elif defined(MICROPY_HW_APA102_MOSI) && defined(MICROPY_HW_APA102_SCK)
#if CIRCUITPY_BITBANG_APA102
shared_module_bitbangio_spi_unlock(&status_apa102);
shared_module_bitbangio_spi_deinit(&status_apa102);
#else
common_hal_busio_spi_unlock(&status_apa102);
common_hal_busio_spi_deinit(&status_apa102);
#endif

Expand Down

0 comments on commit 28f3d91

Please sign in to comment.