solves artifacts issue if .gif is exactly 1024 B (#1362)
* solves artifacts issue if .gif is exactly 1024 B solves https://github.com/Ralim/IronOS-Meta/issues/18 * increased animation speed a tad
This commit is contained in:
@@ -52,10 +52,10 @@ void BootLogo::showNewFormat(const uint8_t *ptrLogoArea) {
|
|||||||
buttons = getButtonState();
|
buttons = getButtonState();
|
||||||
|
|
||||||
if (interFrameDelay) {
|
if (interFrameDelay) {
|
||||||
osDelay(interFrameDelay * 5);
|
osDelay(interFrameDelay * 4);
|
||||||
}
|
}
|
||||||
// 1024 less the header type byte and the inter-frame-delay
|
// 1024 less the header type byte and the inter-frame-delay
|
||||||
if (getSettingValue(SettingsOptions::LOGOTime) > 0 && (position == 1022 || len == 0)) {
|
if (getSettingValue(SettingsOptions::LOGOTime) > 0 && (position >= 1022 || len == 0)) {
|
||||||
// Delay here until button is pressed or its been the amount of seconds set by the user
|
// Delay here until button is pressed or its been the amount of seconds set by the user
|
||||||
delay();
|
delay();
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user