11
Diff: keypad.cpp
- Revision:
- 15:873a9a452ef1
- Parent:
- 14:f6c3647bf421
- Child:
- 16:a9feaa7ac039
--- a/keypad.cpp Sun Nov 04 09:53:46 2012 +0000 +++ b/keypad.cpp Sun Nov 04 09:56:24 2012 +0000 @@ -101,15 +101,12 @@ int Keypad::ScanMultiple() { int res = 0; - - int i = 0; for (int c = 0; c < col_count; c++) { _cols = ~(1 << c); for (int r = 0; r < row_count; r++) { if (*_rows[r] == 0) { res |= 1 << (r * col_count + c); } - i++; } }