summaryrefslogtreecommitdiffstats
path: root/FAQ.md
diff options
context:
space:
mode:
authorabjr <ang@brigante.org>2015-12-29 17:05:50 -0500
committerabjr <ang@brigante.org>2015-12-29 17:05:50 -0500
commite6423f50a484daab94f6f6a7820722a9934f4bd2 (patch)
treed3de251373fc960c4b2e84ee01db019a33a930b0 /FAQ.md
parentdd5bfb6f3ec792b966ffb1cfaae1799b47579c02 (diff)
Updated FAQ (markdown)
Diffstat (limited to 'FAQ.md')
-rw-r--r--FAQ.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/FAQ.md b/FAQ.md
index 741361a6c6..f7ec5399e7 100644
--- a/FAQ.md
+++ b/FAQ.md
@@ -72,8 +72,8 @@ Without reset circuit you will have inconsistent reuslt due to improper initiali
- http://www.mikrocontroller.net/attachment/52583/tpm754.pdf
-## 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.
+## Can't read column of matrix beyond 16
+Use `1UL<<16` instead 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`. You have to use **unsigned long** type with `1UL`.