mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2025-12-18 16:23:07 +01:00
Cange zeroprefix to 100 for SPI init
This commit is contained in:
@@ -139,7 +139,7 @@ bool sendToLeds(GwLog *logger, uint8_t pin, int numLeds, Color *leds, spi_host_d
|
|||||||
//need to send a long reset before
|
//need to send a long reset before
|
||||||
//as on S3 MOSI is high on idle on older frameworks
|
//as on S3 MOSI is high on idle on older frameworks
|
||||||
//see https://github.com/espressif/esp-idf/issues/13974
|
//see https://github.com/espressif/esp-idf/issues/13974
|
||||||
const int zeroprefix=80; //3.2us per byte
|
const int zeroprefix=100; //3.2us per byte
|
||||||
bool ownsBuffer = false;
|
bool ownsBuffer = false;
|
||||||
size_t bufferSize = numLeds * 3 * 3+zeroprefix;
|
size_t bufferSize = numLeds * 3 * 3+zeroprefix;
|
||||||
if (buffer == NULL)
|
if (buffer == NULL)
|
||||||
|
|||||||
Reference in New Issue
Block a user