浏览代码

Mention the bounds checking for get_cfg

Clara Hobbs 6 年前
父节点
当前提交
47919b4554
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3
    2
      docs/console_config.md

+ 3
- 2
docs/console_config.md 查看文件

@@ -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
 

正在加载...
取消
保存