Martin Preuss
c00b90bf28
more work on switching to new COM and TIMER stack.
2023-04-13 21:16:51 +02:00
Martin Preuss
024d40fc95
avr: started reworking COM module.
...
- sending and receiving now basically works again, but too often the
read buffer is in use when trying to receive a message.
2023-04-12 15:30:52 +02:00
Martin Preuss
b5dc704119
removed idle time calculation (doesn't work so far).
2023-04-10 23:48:24 +02:00
Martin Preuss
eca6fc6efc
avr: try calculating idle times.
2023-04-10 23:33:24 +02:00
Martin Preuss
84f11398b8
avr: reworked timer code.
...
Allow for more tailored timers.
2023-04-10 01:00:58 +02:00
Martin Preuss
55ba84d74a
avr: some formatting.
2023-04-09 18:50:09 +02:00
Martin Preuss
7490167694
avr: cleanup, added labels to calculate module sizes.
2023-04-08 18:18:19 +02:00
Martin Preuss
56c11b959e
avr: add copyright notices.
2023-04-08 13:05:05 +02:00
Martin Preuss
e673a88cf3
avr: added timer entry for every5s
...
This will be used for the window check module.
2023-04-08 03:09:12 +02:00
Martin Preuss
7625a84c08
avr: removed unneeded defs.
2023-04-08 02:49:24 +02:00
Martin Preuss
398f675022
avr: improved timer module.
...
- simplified timer handling. still using cascading counters but in an
extendable way
- added onEvery5m while on it
- renamed everyMinute to every1m (unifies routine names)
- send network stats every 5m, not every minute
2023-04-08 02:23:34 +02:00
Martin Preuss
1726796b68
TIMER: improved module, added some callbacks.
2023-02-20 23:47:56 +01:00
Martin Preuss
d3c279101c
main.asm: CLI while measuring and preparing packet. Directly call onSystemStart.
2023-02-06 21:55:10 +01:00
Martin Preuss
9b0831765b
Timer: Added callback onSystemStart
2023-02-04 16:01:09 +01:00
Martin Preuss
ee73dd8fe8
Timer: Add callback "onEvery30s".
2023-02-02 00:42:28 +01:00
Martin Preuss
4a54c46ba9
COM. TIMER: Fixed a bug (note to self: INC/DEC set Z flag, but not C flag!!)
...
- added COM_EnqueueComSendStats
- check for high ATTN line before sending packets
2023-01-26 18:57:20 +01:00
Martin Preuss
fed877fbf5
timer: Added callbacks for every 10s and every minute.
2023-01-22 01:05:39 +01:00
Martin Preuss
112e15e41b
Initial import.
2023-01-16 23:12:09 +01:00