Fixed compilation issue with KL46Z. Tested on the board and working fine.
Fork of tsi_sensor by
Diff: tsi_sensor.h
- Revision:
- 6:c1877e6c512c
- Parent:
- 5:309dde6b6292
--- 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 }