allow less than 8 bits for non-numeric types as well, corrected TTQ/TTH decoding

This commit is contained in:
john30
2017-03-19 14:26:49 +01:00
parent 3f974e9b47
commit b88922fb40
3 changed files with 15 additions and 4 deletions
+2
View File
@@ -187,6 +187,8 @@ int main() {
{"x,,ttq", "-:-", "10fe07000100", "00", ""},
{"x,,ttq", "", "10fe07000161", "00", "rw"},
{"x,,ttq,2", "", "", "", "c"},
{"x,,ttq,,,,y,,bi7", "23:45;0", "10fe0700015f", "00", ""}, // bit combination
{"x,,ttq,,,,y,,bi7", "23:45;1", "10fe070001df", "00", ""}, // bit combination
{"x,,bdy", "Mon", "10fe07000100", "00", ""},
{"x,,bdy", "Sun", "10fe07000106", "00", ""},
{"x,,bdy", "8", "10fe07000108", "00", "w"},