u-blox / battery-charger-bq24295

Dependents:   example-battery-charger-bq24295 example-C030-out-of-box-demo example-C030-out-of-box-demo Amit

Files at this revision

API Documentation at this revision

Comitter:
rob.meades@u-blox.com
Date:
Tue Jun 06 15:56:50 2017 +0100
Parent:
4:26b46760481d
Child:
6:79e747c6d094
Commit message:
Remove old UTM board pin-outs.

Changed in this revision

TESTS/unit_tests/default/main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/TESTS/unit_tests/default/main.cpp	Tue Jun 06 13:08:46 2017 +0100
+++ b/TESTS/unit_tests/default/main.cpp	Tue Jun 06 15:56:50 2017 +0100
@@ -33,26 +33,12 @@
 #define NUM_RAND_ITERATIONS 50
 #endif
 
-#ifndef PIN_I2C_SDA
-// Default for C030 board
-#define PIN_I2C_SDA PC_9
-#endif
-
-#ifndef PIN_I2C_SDC
-// Default for C030 board
-#define PIN_I2C_SDC PA_8
-#endif
-
 // ----------------------------------------------------------------
 // PRIVATE VARIABLES
 // ----------------------------------------------------------------
 
-#ifdef TARGET_UBLOX_C027
-// This required only for UTM board
-static DigitalOut gI2CPullUpBar(P1_1, 0);
-#endif
 // I2C interface
-I2C * gpI2C = new I2C(PIN_I2C_SDA, PIN_I2C_SDC);
+I2C * gpI2C = new I2C(I2C_SDA_B, I2C_SCL_B);
 
 // ----------------------------------------------------------------
 // TESTS