MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / init_full_update

Method init_full_update

epd_helper.py:44–55  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

42 logger.error(f"Error loading EPD module {self.epd_type}: {e}")
43 raise
44
45 def init_full_update(self):
46 try:
47 if hasattr(self.epd, 'FULL_UPDATE'):
48 self.epd.init(self.epd.FULL_UPDATE)
49 elif hasattr(self.epd, 'lut_full_update'):
50 self.epd.init(self.epd.lut_full_update)
51 else:
52 self.epd.init()
53 logger.info("EPD full update initialization complete.")
54 except Exception as e:
55 logger.error(f"Error initializing EPD for full update: {e}")
56 raise
57
58 def init_partial_update(self):

Callers 2

wipe_displayFunction · 0.95

Calls 3

infoMethod · 0.80
errorMethod · 0.80
initMethod · 0.45

Tested by

no test coverage detected