Kaynağa Gözat

Mention the bounds checking for get_cfg

Clara Hobbs 6 yıl önce
ebeveyn
işleme
47919b4554
1 değiştirilmiş dosya ile 3 ekleme ve 2 silme
  1. 3
    2
      docs/console_config.md

+ 3
- 2
docs/console_config.md Dosyayı Görüntüle

@@ -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…
İptal
Kaydet