View Single Post
Old 10-14-2020, 10:13 AM   #319
ezdiy
Zealot
ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.
 
Posts: 121
Karma: 156515
Join Date: Oct 2019
Device: KT, KPW4, PB740-2
Quote:
Originally Posted by ps67 View Post
I updated from OTA and then I commented the line but there is the same issue: it always flashes also if I settle it on "never" or "each 6 pages" ecc.

And how can I help also for color?
Seems to be GL16 related. Copy the whole section from:

https://github.com/koreader/koreader...mxcfb.lua#L698

that is:

Code:
        require("ffi/mxcfb_pocketbook_h")

        self.mech_refresh = refresh_pocketbook
        self.mech_wait_update_complete = pocketbook_mxc_wait_for_update_complete

        self.waveform_fast = C.WAVEFORM_MODE_DU
        self.waveform_ui = C.WAVEFORM_MODE_GC16
        self.waveform_flashui = self.waveform_ui
        self.waveform_full = C.WAVEFORM_MODE_GC16
        self.waveform_partial = C.WAVEFORM_MODE_GC16
        self.waveform_night = C.WAVEFORM_MODE_GC16
        self.waveform_flashnight = self.waveform_night
        self.night_is_reagl = false
And replace the lines in your live koreader copy - https://github.com/koreader/koreader....lua#L719-L731
- with the above. The file is in applications/koreader/ffi/framebuffer_mxcfb.lua.

With color it's substantially more involved back and forth like this, so depends how keen you're on that
ezdiy is offline   Reply With Quote