Browse Source

Mention the bounds checking for get_cfg

Clara Hobbs 5 years ago
parent
commit
47919b4554
1 changed files with 3 additions and 2 deletions
  1. 3
    2
      docs/console_config.md

+ 3
- 2
docs/console_config.md View File

@@ -113,8 +113,9 @@ Usage: `get_cfg [index]`
113 113
 If no index is provided, prints the current configuration from flash.  If there
114 114
 is no configuration, `No configuration` is printed instead.
115 115
 
116
-For developers, if an index is provided, prints a particular location in the
117
-configuration flash sector.
116
+For developers: if an index is provided, prints a particular location in the
117
+configuration flash sector.  If the index lies outside the configuration flash
118
+sector, `Invalid index` is printed instead.
118 119
 
119 120
 ### get_tmpcfg
120 121
 

Loading…
Cancel
Save