Yes indeed.

This commit is contained in:
Denis 2023-11-29 18:23:20 +01:00
parent 2fa46bf62f
commit 650fc88127
No known key found for this signature in database
GPG key ID: DD9B63F805CF5C03
4 changed files with 8 additions and 7 deletions

View file

@ -400,7 +400,7 @@ static int send_data(int fd, logic_t *const logic) {
(gs.l3 ? 0x40 : 0x00) |
(gs.r3 ? 0x80 : 0x00);
buf[10] = (gs.lfn ? 0x10 : 0x00) | (gs.rfn ? 0x20 : 0x00) | (gs.center ? 0x01 : 0x00);
buf[10] = (gs.l4 ? 0x10 : 0x00) | (gs.r4 ? 0x20 : 0x00) | (gs.center ? 0x01 : 0x00);
//buf[11] = ;
//buf[12] = 0x20; // [12] battery level | this is called sensor_temparature in the kernel driver but is never used...