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: LambdaController.cpp
- Revision:
- 2:cf08273cbd94
- Parent:
- 1:3785af7e715e
diff -r 3785af7e715e -r cf08273cbd94 LambdaController.cpp
--- a/LambdaController.cpp	Sat Nov 12 09:05:29 2016 +0000
+++ b/LambdaController.cpp	Sun Nov 13 01:59:49 2016 +0000
@@ -92,12 +92,6 @@
             else
             {
                 //error_id = InvalidDataError;
-                if(buffer_head == -1)
-                    error_id = (ErrorFactor)10;
-                else if(buffer_head == 11)
-                    error_id = (ErrorFactor)(data + 1);
-                else
-                    error_id = (ErrorFactor)12;
                 buffer_head = -1;
             }