get_gpio_num() corrected