diff options
Diffstat (limited to 'avr/env.c')
-rw-r--r-- | avr/env.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -63,6 +63,7 @@ char env_get_char(uint_fast16_t index) switch (env_valid) { case 2: off += CONFIG_ENV_SIZE; + /* FALL TROUGH */ case 1: ret = (char) eeprom_read_byte((const uint8_t *)off + index + offsetof(env_t, data)); @@ -562,7 +563,7 @@ command_ret_t _do_env_set(uint_fast8_t flag UNUSED, int argc, char * const argv[ * @param varvalue Value to set it to * @return 0 if ok, 1 on error */ -static + int setenv(const MEMX char *varname, const char *varvalue) { int rc; @@ -718,7 +719,6 @@ command_ret_t do_env_print(cmd_tbl_t *cmdtp UNUSED, uint_fast8_t flag UNUSED, while (optind < argc) { int len = env_print(argv[optind], mode); if (len < 0) { - printf_P(PSTR("## Error: \"%s\" not defined\n"), argv[optind]); rc = CMD_RET_FAILURE; } optind++; |