summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortmk <tmk@users.noreply.github.com>2014-03-03 17:20:54 -0800
committertmk <tmk@users.noreply.github.com>2014-03-03 17:20:54 -0800
commitbf6d2b5ebdfcac2727a0ee639c299054143dd94a (patch)
treede5282d536c5fea2623adc68ea782b6de31bb98e
parent700a77a0f3d73526283ccc5ec38c314ffdb161e5 (diff)
Updated FAQ (markdown)
-rw-r--r--FAQ.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/FAQ.md b/FAQ.md
index 7f0c0f03c4..e35044e695 100644
--- a/FAQ.md
+++ b/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 \ No newline at end of file
+http://deskthority.net/workshop-f7/rebuilding-and-redesigning-a-classic-thinkpad-keyboard-t6181-60.html#p146279