From a99791f75e686a8483ceaa4e5ea8a8712f8e53a0 Mon Sep 17 00:00:00 2001 From: Gordon Williams Date: Fri, 25 Oct 2024 14:22:24 +0100 Subject: [PATCH] more doc fixes --- libs/bluetooth/jswrap_bluetooth.c | 2 +- targets/esp8266/jswrap_esp8266.c | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/libs/bluetooth/jswrap_bluetooth.c b/libs/bluetooth/jswrap_bluetooth.c index ce83d2c674..a9c1768e66 100644 --- a/libs/bluetooth/jswrap_bluetooth.c +++ b/libs/bluetooth/jswrap_bluetooth.c @@ -429,7 +429,7 @@ for when Espruino is connecting *to* another device (central mode). "class" : "NRF", "name" : "security", "params" : [ - ["status","JsVar","An object containing `{auth_status,bonded,lv4,kdist_own,kdist_peer}"] + ["status","JsVar","An object containing `{auth_status,bonded,lv4,kdist_own,kdist_peer}`"] ] } Contains updates on the security of the current Bluetooth link. diff --git a/targets/esp8266/jswrap_esp8266.c b/targets/esp8266/jswrap_esp8266.c index 1f9fe987bc..588e3a9f64 100644 --- a/targets/esp8266/jswrap_esp8266.c +++ b/targets/esp8266/jswrap_esp8266.c @@ -227,10 +227,9 @@ following fields: * `cpuFrequency` - CPU operating frequency in Mhz. * `freeHeap` - Amount of free heap in bytes. * `maxCon` - Maximum number of concurrent connections. -* `flashMap` - Configured flash size&map: '512KB:256/256' .. '4MB:512/512' +* `flashMap` - Configured flash size&map: '512KB:256/256' .. `'4MB:512/512'` * `flashKB` - Configured flash size in KB as integer -* `flashChip` - Type of flash chip as string with manufacturer & chip, ex: '0xEF - 0x4016` +* `flashChip` - Type of flash chip as string with manufacturer & chip, ex: `'0xEF 0x4016'` */ JsVar *jswrap_ESP8266_getState() {