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.
Revision 1:52fba054be6c, committed 2011-07-22
- Comitter:
- kaushalpkk
- Date:
- Fri Jul 22 15:11:28 2011 +0000
- Parent:
- 0:6b30097d9a45
- Commit message:
Changed in this revision
| quadratureEncoder.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/quadratureEncoder.cpp Fri Jul 22 13:03:39 2011 +0000
+++ b/quadratureEncoder.cpp Fri Jul 22 15:11:28 2011 +0000
@@ -38,9 +38,7 @@
////////////////////////////////////////////////////////////////////////////////////////
int quadratureEncoder::getCount() {
- int outp = _count;
- _count = 0;
- return outp;
+ return _count;
}
void quadratureEncoder::resetCount() {