diff options
author | jaseg <git@jaseg.de> | 2022-05-06 17:59:15 +0200 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2022-05-06 17:59:15 +0200 |
commit | da4afa7354979e04c6b006bcad60176779a7f99e (patch) | |
tree | f39c89d6eb0f1f6657a594181ec9c9ee97ce4409 /hardware | |
parent | 76f34b48398bd9faeb382ac7e7679b0988584d1c (diff) | |
download | master-thesis-da4afa7354979e04c6b006bcad60176779a7f99e.tar.gz master-thesis-da4afa7354979e04c6b006bcad60176779a7f99e.tar.bz2 master-thesis-da4afa7354979e04c6b006bcad60176779a7f99e.zip |
paper: formulation WIP, update spectrum graph
Diffstat (limited to 'hardware')
-rw-r--r-- | hardware/fw/tw_test.py | 4 | ||||
-rw-r--r-- | hardware/grid-recorder/sym-lib-table | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/hardware/fw/tw_test.py b/hardware/fw/tw_test.py index e329abd..54e917a 100644 --- a/hardware/fw/tw_test.py +++ b/hardware/fw/tw_test.py @@ -85,7 +85,7 @@ if __name__ == '__main__': continue crc32, payload = unpack_head('I', cobs.decode(data)) - pid, seq, data = unpack_head('xBH', payload) + pid, seq, gps_1pps, data = unpack_head('BxHI', payload) ts = time() # Calculate byte-wise CRC32 @@ -126,7 +126,7 @@ if __name__ == '__main__': print() lines_written += 1 - if lines_written == 80: + if lines_written == 50: lines_written = 0 print('\033[2J\033[H', end='') delta = ts-capture_start diff --git a/hardware/grid-recorder/sym-lib-table b/hardware/grid-recorder/sym-lib-table index 3b4af0a..ec0223d 100644 --- a/hardware/grid-recorder/sym-lib-table +++ b/hardware/grid-recorder/sym-lib-table @@ -1,3 +1,4 @@ (sym_lib_table (lib (name "components")(type "Legacy")(uri "${KIPRJMOD}/components.lib")(options "")(descr "")) + (lib (name "platform-rescue")(type "Legacy")(uri "${KIPRJMOD}/platform-rescue.lib")(options "")(descr "")) ) |