mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2026-10-31 22:02:17 +01:00
refactor: name radio jobs as GLOSSARY.md does
The repeater-frame flag was called raw and the ticket was seq, jobSeq, stopSeq or mySeq depending on the file. They are now repeater and ticket (stopTicket, myTicket, lastTicket) throughout, matching the glossary. Renames only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
29d642b6f4
commit
bb6c929bf8
10 changed files with 92 additions and 92 deletions
|
|
@ -17,7 +17,7 @@
|
|||
// Not thread safe. The caller serializes every call and passes the time in.
|
||||
class RadioScheduler {
|
||||
public:
|
||||
// Queues a job. Its ticket comes back and is also set in job.seq, 0 when
|
||||
// Queues a job. Its ticket comes back and is also set in job.ticket, 0 when
|
||||
// the queue is full or suspended, or when outcomes aren't collected with
|
||||
// popEvent() fast enough to leave room for its own. A priority job (a stop) may use the
|
||||
// reserved slots and goes ahead of every job queued at the back, unless a
|
||||
|
|
@ -54,7 +54,7 @@ class RadioScheduler {
|
|||
private:
|
||||
somfy_tx_job_t jobs[TX_JOB_QUEUE_SIZE];
|
||||
uint8_t count = 0;
|
||||
uint32_t lastSeq = 0;
|
||||
uint32_t lastTicket = 0;
|
||||
uint8_t suspendMask = 0;
|
||||
// The job taken by next() and not yet ended (0 for none), kept for its
|
||||
// events.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue