Improve gpio-cycle.c