timer: fixes GPIO