summaryrefslogtreecommitdiff
path: root/board/samtec/vining_2000/vining_2000.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/samtec/vining_2000/vining_2000.c')
-rw-r--r--board/samtec/vining_2000/vining_2000.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/board/samtec/vining_2000/vining_2000.c b/board/samtec/vining_2000/vining_2000.c
index 5c8b436776..d15f2a9c1d 100644
--- a/board/samtec/vining_2000/vining_2000.c
+++ b/board/samtec/vining_2000/vining_2000.c
@@ -413,11 +413,11 @@ static int set_pin_state(void)
return ret;
if (val >= VAL_UPPER)
- setenv("pin_state", "connected");
+ env_set("pin_state", "connected");
else if (val < VAL_UPPER && val > VAL_LOWER)
- setenv("pin_state", "open");
+ env_set("pin_state", "open");
else
- setenv("pin_state", "button");
+ env_set("pin_state", "button");
return ret;
}