case learn is in the scanner function, doesnt have anything to do with flashing