diff --git a/gpio.c b/gpio.c
index 37ab5b7fece1c12c7dac2b49aa897ad52b3f4f68..72e5ba7675b16d11b4d1c09b894301a67108f10c 100755
--- a/gpio.c
+++ b/gpio.c
@@ -14,7 +14,7 @@ void InitGPIO(void)
 	 			   // Pc3 as an input (OVP)
     
 
-    PORTC=0x00;
+    PORTC=PORTC&0xF0;
 }
 
 void enable_battery(void)
diff --git a/i2c.c b/i2c.c
index b9f4236070142afdfa802e6b06cce6e8bc1d796b..33e42b12226b50a8222b8bbbc4582d611285d286 100755
--- a/i2c.c
+++ b/i2c.c
@@ -51,8 +51,8 @@ void i2cInit(void)
 {
 	// set pull-up resistors on I2C bus pins
 	// TODO: should #ifdef these
-//	sbi(PORTC, 5);	// i2c SCL on ATmega163,323,16,32,etc
-//	sbi(PORTC, 4);	// i2c SDA on ATmega163,323,16,32,etc
+	sbi(PORTC, 5);	// i2c SCL on ATmega163,323,16,32,etc
+	sbi(PORTC, 4);	// i2c SDA on ATmega163,323,16,32,etc
 //	sbi(PORTD, 0);	// i2c SCL on ATmega128,64
 //	sbi(PORTD, 1);	// i2c SDA on ATmega128,64
 
diff --git a/tibi_dabo_battery.c b/tibi_dabo_battery.c
index d2e753073b42ecd65c7c45e15c788f85082610be..e35378be421a4b0963c87cf0102f65edff0932fe 100755
--- a/tibi_dabo_battery.c
+++ b/tibi_dabo_battery.c
@@ -41,6 +41,7 @@ int main (void)
 
    // initialize the GPIO
    InitGPIO();
+   
    // initialize uart
    uartInit();
    // set desired baud rate in bps