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: Accelerometer.cpp
- Revision:
- 7:3b5aa5bea044
- Parent:
- 6:754d21f44075
diff -r 754d21f44075 -r 3b5aa5bea044 Accelerometer.cpp
--- 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