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 3:8fa1cc42941a, committed 2015-02-26
- Comitter:
- sergeynikitin
- Date:
- Thu Feb 26 11:26:30 2015 +0000
- Parent:
- 2:b7e230d98325
- Commit message:
- Updated docs
Changed in this revision
RFID_125KHz_Grove.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/RFID_125KHz_Grove.cpp Sun Feb 22 13:43:14 2015 +0000 +++ b/RFID_125KHz_Grove.cpp Thu Feb 26 11:26:30 2015 +0000 @@ -38,7 +38,7 @@ int RfidGrove::Available() { - if ( _available == 1 && _t.read_ms() > _waittime) + if ( _available == 1 && ( _t.read_ms() > _waittime || _t.read_ms() < 0 ) ) { return 1; }