We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44dff09 commit 339294dCopy full SHA for 339294d
examples/wifi/expanded/requests_wifi_api_fitbit.py
@@ -86,9 +86,10 @@ def time_calc(input_time):
86
top_nvm = microcontroller.nvm[0:64].decode()
87
nvm_bytes = microcontroller.nvm[0:64]
88
top_nvm_3bytes = nvm_bytes[0:3]
89
-print(f"Top NVM Length: {len(top_nvm)}")
90
-print(f"Top NVM: {top_nvm}")
91
-print(f"Top NVM bytes: {top_nvm_3bytes}")
+if DEBUG:
+ print(f"Top NVM Length: {len(top_nvm)}")
+ print(f"Top NVM: {top_nvm}")
92
+ print(f"Top NVM bytes: {top_nvm_3bytes}")
93
if RESET_NVM:
94
microcontroller.nvm[0:64] = bytearray(b"\x00" * 64)
95
if top_nvm_3bytes == b"\x00\x00\x00":
0 commit comments