techie66 / libIgnitech

Library to read information from the Ignitech TCIP-4 ignition controller.
GNU General Public License v2.0
6 stars 0 forks source link

read_sync() never return #5

Closed techie66 closed 3 years ago

techie66 commented 4 years ago

From looking at the code, there is the possibility that certain conditions would keep read_sync() from ever returning. Need to implement a method to detect failure loop, and exit.

Perhaps a non-fatal failure return status whenever a reset occurs, this would signal read_sync() to exit with error and would allow read_async() direct use with more visibility to failure mode.

techie66 commented 3 years ago

Logic exists that would always return an error or valid read eventually.