fix: also refreshing for "turnOff" activated after first display in ssd1677 - #46
fix: also refreshing for "turnOff" activated after first display in ssd1677#46theZiz wants to merge 1 commit into
Conversation
…sd1677 The turnoff condition is important for the else path, but not for the initial refresh
thiagokokada
left a comment
There was a problem hiding this comment.
Confirmed that the original issue ("Sunlight Fade Fix" enabled on Xteink X4 with SSD1677) is fixed by applying this patch + crosspoint-reader/crosspoint-reader@c6fe67d.
Actually, this seems to have fixed the boot issue but now when I am in the read page I can't switch pages (I am not sure if the pages are not switching or just the page is not rendering). I can open the book menu though, it is really strange and I have no idea why this is happening. Reverting to 1.6.0rc works fine. I also tested commit crosspoint-reader/crosspoint-reader@6a501bb (1.6.0rc) with this patch applied, same issue, so my conclusion is that this PR is the cause. |
thiagokokada
left a comment
There was a problem hiding this comment.
Dismissing my approval since the issue reported above.
Hm, I can't reproduce what you are meaning. With "read page" you mean reading a book? Works as intended with my and your patch as well as the develop branch of Crosspoint Reader + my patch. I can't really find any reason why my patch should make the thing worse at all. The logic is changed exactly one time for the very first display()-call. Afterwards it should not make any difference. I really don't get it. Can you give me more clear productions steps?
|
|
Sorry, just saw this right now.
I applied just this patch on top of the Free-Ink SDK that is set as a submodule in CrossPoint.
I think I tested both.
With.
Menu -> Book. |
|
Thanks for the answer though! I can't think of ANY reason why this is happening with my change and think that something else is fishy (e.g. we had an USB freeze bug sometime in the past), but as this might also happen on other devices with other drivers, it is probably a good idea to have your change in the Crosspoint Reader instead. I doubt that @itsthisjustin wants to take the risk for another change here while the problem is in fact already solved. Tbh I think the best would be now to remove the special handling code from here, because I think it has some logic flaws and other drivers don't have it, too. But on the other hand: Never touch a running system if not needed. 😂 |
See discussion in: crosspoint-reader/crosspoint-reader#3009
The SSD1677 only does the initial refresh if
turnOffis false, which is the fadingFix in the Crosspoint Reader domain. This does not make sense in my opinion. At least it fixes the problem in the link above.