fix screen when connected to usb
silence compiling warnings