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 7:3b5aa5bea044, committed 2021-03-12
- Comitter:
- khaiminhvn
- Date:
- Fri Mar 12 04:13:29 2021 +0000
- Parent:
- 6:754d21f44075
- Commit message:
- Minor changes
Changed in this revision
| Accelerometer.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/Accelerometer.cpp Wed Mar 10 23:55:48 2021 +0000
+++ b/Accelerometer.cpp Fri Mar 12 04:13:29 2021 +0000
@@ -103,8 +103,6 @@
bool Accelerometer::checkAngle(float ref, float cur)
{
if(cur >= (ref-ANGLE_TOL) && cur <= (ref+ANGLE_TOL))
- {
return 1;
- }
return 0;
}
\ No newline at end of file