Searched refs:CS_ARGV_GPIO_PIN (Results 1 – 1 of 1) sorted by relevance
21 #define CS_ARGV_GPIO_PIN (2) macro157 int pin = strtol(argv[CS_ARGV_GPIO_PIN], &endptr, 10); in cmd_spi_conf_cs()159 if (endptr == argv[CS_ARGV_GPIO_PIN] || (pin < 0)) { in cmd_spi_conf_cs()160 shell_error(ctx, "invalid pin number: %s", argv[CS_ARGV_GPIO_PIN]); in cmd_spi_conf_cs()