standard keypad inteface and apps/examples/keypadtest from Denis Carikli

git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5403 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2012-12-01 15:43:51 +00:00
parent f63b1d9296
commit 7f7356cdc9
14 changed files with 358 additions and 5 deletions
+2 -1
View File
@@ -197,7 +197,8 @@ int nxgl_splitline(FAR struct nxgl_vector_s *vector,
abs(line.pt2.x - line.pt1.x) < (line.pt2.y - line.pt1.y))
{
/* A close to vertical line of width 1 is basically
* a single parallelogram of width 1 */
* a single parallelogram of width 1.
*/
traps[1].top.x1 = itob16(line.pt1.x);
traps[1].top.x2 = traps[1].top.x1;