diff options
-rw-r--r-- | esp8266/scripts/port_diag.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/esp8266/scripts/port_diag.py b/esp8266/scripts/port_diag.py index f2abd8066d..ef8800355a 100644 --- a/esp8266/scripts/port_diag.py +++ b/esp8266/scripts/port_diag.py @@ -24,8 +24,8 @@ def main(): print("STA ifconfig:", network.WLAN(network.STA_IF).ifconfig()) print("AP ifconfig:", network.WLAN(network.AP_IF).ifconfig()) print("Free WiFi driver buffers of type:") - for i in range(5): - print("%d: %d" % (i, esp.esf_free_bufs(i))) + for i, comm in enumerate(("1,2 TX", "4 Mngmt TX(len: 0x41-0x100)", "5 Mngmt TX (len: 0-0x40)", "7", "8 RX")): + print("%d: %d (%s)" % (i, esp.esf_free_bufs(i), comm)) print("lwIP PCBs:") lwip.print_pcbs() |