Piece of code unknown : ++ == ||

Beware that having a load of comparison operators like this can give unexpected results - unless you're absolutely sure of the precedence & association rules, it's wise to use brackets to be sure; eg,

if( (g_count++ == 20) || g_SendMqttData )