aboutsummaryrefslogtreecommitdiff
path: root/board/Arcturus/ucp1020/ucp1020.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/Arcturus/ucp1020/ucp1020.c')
-rw-r--r--board/Arcturus/ucp1020/ucp1020.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/Arcturus/ucp1020/ucp1020.c b/board/Arcturus/ucp1020/ucp1020.c
index 24d1d57ec4b..ee8a9e0a5e4 100644
--- a/board/Arcturus/ucp1020/ucp1020.c
+++ b/board/Arcturus/ucp1020/ucp1020.c
@@ -52,7 +52,7 @@ void spi_set_speed(struct spi_slave *slave, uint hz)
*/
int name_to_gpio(const char *name)
{
- int gpio = 31 - simple_strtoul(name, NULL, 10);
+ int gpio = 31 - dectoul(name, NULL);
if (gpio < 16)
gpio = -1;