Cleaned up the EC Read functino and added a loop to both the Read and Write functions to immediately retry the whole EC Read/write setup process (clearing of EC I/O Buffers and requesting the I/O Action (read/write) and memory address) before giving up reading or writing data from the EC. This fixes the many EC read errors, hopefully adds a little robustness to the EC write proces, and keeps TPFanControl working properly even during heavy CPU load.
c5871deGrant Furgiuele73mo ago