Fix system crash due to dump char to serial out before it is initialized