summaryrefslogtreecommitdiff
path: root/board/bluegiga/apx4devkit/apx4devkit.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/bluegiga/apx4devkit/apx4devkit.c')
-rw-r--r--board/bluegiga/apx4devkit/apx4devkit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/bluegiga/apx4devkit/apx4devkit.c b/board/bluegiga/apx4devkit/apx4devkit.c
index 2215c29c9c..25e5c3d80c 100644
--- a/board/bluegiga/apx4devkit/apx4devkit.c
+++ b/board/bluegiga/apx4devkit/apx4devkit.c
@@ -133,8 +133,8 @@ void get_board_serial(struct tag_serialnr *serialnr)
#ifdef CONFIG_REVISION_TAG
u32 get_board_rev(void)
{
- if (getenv("revision#") != NULL)
- return simple_strtoul(getenv("revision#"), NULL, 10);
+ if (env_get("revision#") != NULL)
+ return simple_strtoul(env_get("revision#"), NULL, 10);
return 0;
}
#endif