altos: Oops. Lost a couple of commands when merging the doc patch
authorKeith Packard <keithp@keithp.com>
Mon, 7 Mar 2011 08:26:17 +0000 (00:26 -0800)
committerKeith Packard <keithp@keithp.com>
Mon, 7 Mar 2011 08:26:17 +0000 (00:26 -0800)
I didn't merge this carefully enough and managed to lose the 'f'
and 'e' commands, which are kinda useful.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/ao_storage.c

index 9f0f75fb26719429ed4d9d68c35e087fa65bffa8..69183514d89325ec7dd7fab582a2b665bc84c242 100644 (file)
@@ -166,6 +166,8 @@ ao_storage_info(void) __reentrant
 }
 
 __code struct ao_cmds ao_storage_cmds[] = {
 }
 
 __code struct ao_cmds ao_storage_cmds[] = {
+       { ao_storage_info, "f\0Show storage info" },
+       { ao_storage_dump, "e <block>\0Dump a block of flash data" },
 #ifdef HAS_STORAGE_DBG
        { ao_storage_store, "w <block> <start> <len> <data> ...\0Write data to flash" },
 #endif
 #ifdef HAS_STORAGE_DBG
        { ao_storage_store, "w <block> <start> <len> <data> ...\0Write data to flash" },
 #endif