takeshi yoshida / Mbed 2 deprecated 2016_lambda_Controller

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
gakuburu
Date:
Sun Nov 13 01:59:49 2016 +0000
Parent:
1:3785af7e715e
Commit message:
nakamura ganbatta

Changed in this revision

LambdaController.cpp Show annotated file Show diff for this revision Revisions of this file
--- 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;
             }