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
|
|
@ -149,7 +149,7 @@ static void test_txhold_idle_shade_is_held() {
|
|||
TxHold hold;
|
||||
hold.mark(7, false, 1000);
|
||||
TEST_ASSERT_TRUE(hold.held());
|
||||
TEST_ASSERT_EQUAL_UINT32(7, hold.seq);
|
||||
TEST_ASSERT_EQUAL_UINT32(7, hold.ticket);
|
||||
TEST_ASSERT_EQUAL_UINT32(1000, hold.since);
|
||||
}
|
||||
static void test_txhold_moving_shade_is_not_held() {
|
||||
|
|
@ -171,7 +171,7 @@ static void test_txhold_first_job_wins() {
|
|||
TxHold hold;
|
||||
hold.mark(11, false, 1000);
|
||||
hold.mark(10, false, 1005);
|
||||
TEST_ASSERT_EQUAL_UINT32(11, hold.seq);
|
||||
TEST_ASSERT_EQUAL_UINT32(11, hold.ticket);
|
||||
TEST_ASSERT_EQUAL_UINT32(1000, hold.since);
|
||||
TEST_ASSERT_FALSE(hold.release(10));
|
||||
TEST_ASSERT_TRUE(hold.held());
|
||||
|
|
@ -192,7 +192,7 @@ static void test_txhold_new_hold_after_release() {
|
|||
hold.mark(5, false, 0);
|
||||
hold.release(5);
|
||||
hold.mark(6, false, 200);
|
||||
TEST_ASSERT_EQUAL_UINT32(6, hold.seq);
|
||||
TEST_ASSERT_EQUAL_UINT32(6, hold.ticket);
|
||||
TEST_ASSERT_EQUAL_UINT32(200, hold.since);
|
||||
}
|
||||
static void test_txhold_times_out() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue