Python updated

pull/29/head
erikkaashoek 4 years ago
parent 31eb02efbb
commit d85fb1ff7a

@ -433,9 +433,11 @@ calculate:
c = c - '0';
if (c >= 'A' - '0') c = (c&(~0x20)) - ('A' - '0') + 10;
if (c >= radix) break;
if (value < (~(freq_t)0)/radix) {
if (d<=0) d--;
value = value * radix + c;
}
}
if (d == 1)
d = 0;
switch (*(--p)) {

@ -18,7 +18,7 @@
*/
#include "ch.h"
//#ifdef TINYSA_F303
#ifdef TINYSA_F303
#ifdef TINYSA_F072
#error "Remove comment for #ifdef TINYSA_F303"
#endif
@ -26,7 +26,7 @@
#define TINYSA4
#endif
#define TINYSA4_PROTO
//#endif
#endif
#ifdef TINYSA_F072
#ifdef TINYSA_F303

File diff suppressed because one or more lines are too long

@ -376,10 +376,11 @@ if __name__ == '__main__':
nv = NanoVNA(opt.device or getport())
if opt.command:
print(opt.command)
for c in opt.command:
nv.send_command(c + "\r")
data = nv.fetch_data()
print(data);
print(data)
if opt.capture:
print("capturing...")

Loading…
Cancel
Save

Powered by TurnKey Linux.