mbed w/ spi bug fig

Dependents:   display-puck

Fork of mbed-src by mbed official

Files at this revision

API Documentation at this revision

Comitter:
mbed_official
Date:
Mon May 19 08:45:07 2014 +0100
Parent:
195:442092318da6
Child:
197:36a724675865
Commit message:
Synchronized with git revision e7f82dfb5211686f85750772384262dfe0f3dfdc

Full URL: https://github.com/mbedmicro/mbed/commit/e7f82dfb5211686f85750772384262dfe0f3dfdc/

fix wrong pin in C027 platform api

Changed in this revision

targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_UBLOX_C027/C027_api.c Show annotated file Show diff for this revision Revisions of this file
--- a/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_UBLOX_C027/C027_api.c	Mon May 19 08:15:19 2014 +0100
+++ b/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_UBLOX_C027/C027_api.c	Mon May 19 08:45:07 2014 +0100
@@ -53,7 +53,7 @@
 }
 
 void c027_mdm_powerOff(void) {
-    if (gpio_read(&gpsEn)) {
+    if (gpio_read(&mdmEn)) {
         // diable all level shifters
         gpio_write(&mdmILvlOe, 0);  // ILVLEN: 0=disabled (i2c)
         gpio_write(&mdmLvlOe, 1);   // LVLEN:  1=disabled (uart/gpio)