summaryrefslogtreecommitdiff
path: root/avr/env.c
diff options
context:
space:
mode:
Diffstat (limited to 'avr/env.c')
-rw-r--r--avr/env.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/avr/env.c b/avr/env.c
index f067940..952c88a 100644
--- a/avr/env.c
+++ b/avr/env.c
@@ -318,7 +318,7 @@ int env_init(void)
}
-char *getenv_char(const MEMX char *name)
+char *getenv_str(const MEMX char *name)
{
env_item_t *ep;
char *ret = NULL;
@@ -631,7 +631,7 @@ unsigned long getenv_ulong(const MEMX char *name, int base, unsigned long defaul
*/
bool getenv_yesno(const MEMX char *name)
{
- char *s = getenv_char(name);
+ char *s = getenv_str(name);
if (s == NULL)
return false;