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.
Fork of tsi_sensor by
Diff: tsi_sensor.h
- Revision:
- 5:309dde6b6292
- Parent:
- 4:f64097679f27
- Child:
- 6:c1877e6c512c
diff -r f64097679f27 -r 309dde6b6292 tsi_sensor.h
--- a/tsi_sensor.h Mon Aug 04 07:43:15 2014 +0000
+++ b/tsi_sensor.h Wed Apr 08 19:32:22 2015 +0000
@@ -112,7 +112,7 @@
* @throws compile-time error if target is not supported, or runtime error if pin does not match any channel.
*/
static uint8_t getTSIChannel(PinName pin) {
-#if defined (TARGET_KL25Z)
+#if defined (TARGET_KL25Z) || defined (TARGET_KL46Z)
switch(pin) {
//these are
case PTA0: return 1;
