a flag can not function

millis() is not reset when setup() ends.