Forráskód Böngészése

Updated FAQ (markdown)

tmk 11 éve
szülő
commit
bf6d2b5ebd
1 módosított fájl, 2 hozzáadás és 2 törlés
  1. 2 2
      FAQ.md

+ 2 - 2
FAQ.md

@@ -69,6 +69,6 @@ Without reset circuit you will have inconsistent reuslt due to improper initiali
 ## Can't read comlumn of matrix beyond 16 
 Use `1UL<<16` intead of `1<<16` in `read_cols()` in **matrix.h** when your columns goes beyond 16.
 
-In C `1` means one of int type which is 16bit in case of AVR so you can't shift left more than 15. You will get unexpected zero when you say `1<<16`.
+In C `1` means one of **int** type which is **16bit** in case of AVR so you can't shift left more than 15. You will get unexpected zero when you say `1<<16`. You have to use **unsigned long** type with `1UL`.
 
-http://deskthority.net/workshop-f7/rebuilding-and-redesigning-a-classic-thinkpad-keyboard-t6181-60.html#p146279
+http://deskthority.net/workshop-f7/rebuilding-and-redesigning-a-classic-thinkpad-keyboard-t6181-60.html#p146279