hishizuka / pizero_bikecomputer

An open source bike computer based on Raspberry Pi Zero (W, WH, 2W) with GPS and ANT+. Including offline map and navigation.

Home Page:https://qiita.com/hishi/items/46619b271daaa9ad41b3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MIP_640 direct update

Ptosiek opened this issue · comments

in display_core/update:

    if not self.config.G_IS_RASPI or not self.send_display:
      return

    if direct_update and self.config.G_DISPLAY in ('MIP', 'MIP_Sharp', 'MIP_Sharp_320'):
      self.display.update(buf, direct_update)
    elif self.config.G_DISPLAY in ('MIP', 'MIP_640', 'MIP_Sharp', 'MIP_Sharp_320'):
      self.display.update(buf, direct_update=False)
    elif self.config.G_DISPLAY in ('Papirus', 'DFRobot_RPi_Display'):
      self.display.update(buf)

MIP_640 is handled differently from the rest for direct_update. Is it a bug or is on purpose ?

Hi @Ptosiek ,
This is on purpose. To be precise, direct_update of MIP_640 is not yet implemented.
I am planning to move to MIP_640 in the future, so I will create logic optimized for this.
https://twitter.com/pi0bikecomputer/status/1436673376848728066