Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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++; } }