Merge pull request #3637 from hierophect/esp32s2-neopixel-parallel

ESP32S2: Fix parallel strip issue with Neopixels
This commit is contained in:
Limor "Ladyada" Fried 2020-11-02 23:39:37 -05:00 committed by GitHub
commit 0d0436bf69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -125,4 +125,6 @@ void common_hal_neopixel_write (const digitalio_digitalinout_obj_t* digitalinout
// Free channel again
esp32s2_peripherals_free_rmt(config.channel);
// Swap pin back to GPIO mode
gpio_set_direction(digitalinout->pin->number, GPIO_MODE_OUTPUT);
}