Added logging for GPIO
This commit is contained in:
+2
-1
@@ -433,8 +433,9 @@ class DReaderApplication:
|
||||
This method sends the current image to the HAL for display.
|
||||
"""
|
||||
if self.current_image:
|
||||
logger.debug(f"Updating display: {self.current_image.size}")
|
||||
logger.info(f"[DISPLAY] Updating display: {self.current_image.size} in {self.state.mode.value} mode")
|
||||
await self.display_hal.show_image(self.current_image)
|
||||
logger.info("[DISPLAY] Display update complete")
|
||||
else:
|
||||
logger.warning("No image to display")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user