Fixed compilation issue with KL46Z. Tested on the board and working fine.

Fork of tsi_sensor by Martin Kojtal

Files at this revision

API Documentation at this revision

Comitter:
kodaws
Date:
Wed Apr 08 19:35:15 2015 +0000
Parent:
5:309dde6b6292
Commit message:
Error message correction

Changed in this revision

tsi_sensor.h Show annotated file Show diff for this revision Revisions of this file
diff -r 309dde6b6292 -r c1877e6c512c tsi_sensor.h
--- a/tsi_sensor.h	Wed Apr 08 19:32:22 2015 +0000
+++ b/tsi_sensor.h	Wed Apr 08 19:35:15 2015 +0000
@@ -133,7 +133,7 @@
             default: error("PinName provided to TSIElectrode::getTSIChannel() does not correspond to any known TSI channel.");
         }
 # else
-    #error "Unknown target for TSIElectrode::getTSIChannel() - only supports KL25Z so far."
+    #error "Unknown target for TSIElectrode::getTSIChannel() - only supports KL25Z and KL46Z so far."
 # endif   
         return 0xFF; //should never get here
     }