I\'m dealing with a logic bug and the code goes like this
uint8_t cond = 0; // Something has been done here, then check