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.
Dependents: Seeed_Barometer_Sensor_Example
Fork of mbed-src by
Diff: targets/hal/TARGET_Freescale/TARGET_KL05Z/pinmap.c
- Revision:
- 78:2cab419ff388
- Parent:
- 20:4263a77256ae
--- a/targets/hal/TARGET_Freescale/TARGET_KL05Z/pinmap.c Mon Jan 27 15:30:04 2014 +0000
+++ b/targets/hal/TARGET_Freescale/TARGET_KL05Z/pinmap.c Wed Jan 29 18:45:05 2014 +0000
@@ -17,7 +17,7 @@
#include "error.h"
void pin_function(PinName pin, int function) {
- if (pin == (uint32_t)NC) {
+ if (pin == (PinName)NC) {
return;
}
@@ -32,7 +32,7 @@
}
void pin_mode(PinName pin, PinMode mode) {
- if (pin == (uint32_t)NC) {
+ if (pin == (PinName)NC) {
return;
}
