lnls-dig / openMMC

Open source firmware for MMC controllers
GNU General Public License v3.0
39 stars 32 forks source link

Move the count check to be done after the fru_write call #188

Closed gustavosr8 closed 10 months ago

gustavosr8 commented 10 months ago

Since we are checking how many chars was writen and using this as diagnostics for the fru_write call, the count check must be made only if the function is called. In this way, the check must be in the same condition as the function call.

augustofg commented 10 months ago

:+1: