Closed thp closed 2 years ago
Instead of reading a sized byte array (%x) and then parsing and comparing its contents, we can also read fixed constants:
%x
0006
0010000200
%b
This is untested, please make sure it actually does work before merging :)
Related Python code change in minidisc-ffwd (tested, working): https://github.com/thp/linux-minidisc/commit/3cc871eb4c79781a8e3673f238aa1ef4513673c9
minidisc-ffwd
Instead of reading a sized byte array (
%x
) and then parsing and comparing its contents, we can also read fixed constants:0006
0010000200
%b
This is untested, please make sure it actually does work before merging :)