From: tmk Date: Tue, 4 Mar 2014 01:17:50 +0000 (-0800) Subject: Updated FAQ (markdown) X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=700a77a0f3d73526283ccc5ec38c314ffdb161e5;p=qmk_firmware.git Updated FAQ (markdown) --- diff --git a/FAQ.md b/FAQ.md index e5ccdcf78..7f0c0f03c 100644 --- a/FAQ.md +++ b/FAQ.md @@ -68,6 +68,7 @@ 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 `0` 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`. http://deskthority.net/workshop-f7/rebuilding-and-redesigning-a-classic-thinkpad-keyboard-t6181-60.html#p146279 \ No newline at end of file