ref: a9dd55c2ff1b714b1eae5547e8c2b985f9fd452c
parent: 63b8965b42aa0ba7909494e13de6913dc88bd93e
author: aiju <devnull@localhost>
date: Sun Jun 25 19:23:56 EDT 2017
libfis: fix inverted CHS bit
--- a/sys/src/libfis/fis.c
+++ b/sys/src/libfis/fis.c
@@ -238,7 +238,7 @@
f->feat |= Datapi;
i = gbit16(id + 49);
if((i & Ilbasp) == 0){
- if(gbit16(id + 53) & 1){
+ if((gbit16(id + 53) & 1) == 0){
f->c = gbit16(id + 1);
f->h = gbit16(id + 3);
f->s = gbit16(id + 6);