supervisor read gpio reply handling

This commit is contained in:
Jakob Meier
2022-05-03 19:09:23 +02:00
parent c7a19f7122
commit 7413a5db5f
3 changed files with 25 additions and 192 deletions

View File

@ -86,6 +86,15 @@ def handle_supervisor_replies(
print(content_list)
printer.file_logger.info(header_list)
printer.file_logger.info(content_list)
elif action_id == SupvActionIds.READ_GPIO:
header_list = ["GPIO state"]
content_list = [custom_data[0]]
print(header_list)
print(content_list)
printer.file_logger.info(header_list)
printer.file_logger.info(content_list)
def handle_startracker_replies(