From 18ead9b29df1c7d3e29e6cd99e0e13381133abb6 Mon Sep 17 00:00:00 2001 From: adam_cummick Date: Thu, 23 May 2024 15:18:42 -0400 Subject: [PATCH 1/2] Add P1-04TRS --- P1AM/constants.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/P1AM/constants.py b/P1AM/constants.py index 4d16c5d..3e397d5 100644 --- a/P1AM/constants.py +++ b/P1AM/constants.py @@ -60,6 +60,7 @@ 0x04A00042: (1, 0, 0, 0, 0, 0, 1, "P1-08ND-TTL"), 0x05200082: (2, 0, 0, 0, 0, 0, 1, "P1-16ND3"), 0x05200089: (2, 0, 0, 0, 0, 0, 1, "P1-16NE3"), + 0x14030050: (0, 0, 1, 0, 0, 0, 1, "P1-04TRS"), 0x1403F481: (0, 0, 0, 32, 4, 4, PWM_MODULE, "P1-04PWM", (0x02,0x02,0x02,0x02)), 0x1404008D: (0, 0, 1, 0, 0, 0, 1, "P1-08TA"), 0x1404008F: (0, 0, 1, 0, 0, 0, 1, "P1-08TRS"), @@ -105,4 +106,4 @@ } # fmt: on -odd_length_modules = (0x14080085, 0x14080086, 0x24A50082, 0x24A50083) \ No newline at end of file +odd_length_modules = (0x14080085, 0x14080086, 0x24A50082, 0x24A50083) From 45d8b727ffefc47553c29948e146a4f00dee2159 Mon Sep 17 00:00:00 2001 From: adam_cummick Date: Thu, 23 May 2024 15:55:00 -0400 Subject: [PATCH 2/2] remove trailing whitespace --- P1AM/constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/P1AM/constants.py b/P1AM/constants.py index 3e397d5..ac6927d 100644 --- a/P1AM/constants.py +++ b/P1AM/constants.py @@ -106,4 +106,4 @@ } # fmt: on -odd_length_modules = (0x14080085, 0x14080086, 0x24A50082, 0x24A50083) +odd_length_modules = (0x14080085, 0x14080086, 0x24A50082, 0x24A50083) \ No newline at end of file