You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have read the documentation at readthedocs and the issue is not addressed there.
I have tested that the issue is present in current master branch (aka latest git).
I have searched the issue tracker for a similar issue.
If there is a stack dump, I have decoded it.
I have filled out all fields below.
Platform
Hardware: [ESP8266]
Core Version: [3.0.2]
Development Env: [Arduino IDE]
Operating System: [Windows]
Settings in IDE
Module: [Generic ESP8266]
Flash Mode: []
Flash Size: [4MB]
lwip Variant: [v2 Lower Memory]
Reset Method: [nodemcu]
Flash Frequency: [40Mhz]
CPU Frequency: [80Mhz]
Upload Using: [SERIAL]
Upload Speed: [115200] (serial upload only)
Problem Description
In SPI library [SPIClass::writePattern] does not draw the last 8 bytes if repeatRem == 0 in line [518 setDataBits(repeatRem * 8);]. I found this problem on the LCD screen GC9A01. The solution is to add a null check for [repeatRem]:
Basic Infos
Platform
Settings in IDE
Problem Description
In SPI library [SPIClass::writePattern] does not draw the last 8 bytes if repeatRem == 0 in line [518 setDataBits(repeatRem * 8);]. I found this problem on the LCD screen GC9A01. The solution is to add a null check for [repeatRem]:
if (repeatRem)
{
setDataBits(repeatRem * 8);
SPI1CMD |= SPIBUSY;
while(SPI1CMD & SPIBUSY) {}
}
I hope this is a simple patch.
The text was updated successfully, but these errors were encountered: