summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/savage_i2c.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/savage_i2c.c b/src/savage_i2c.c
index f3bda84..895a74e 100644
--- a/src/savage_i2c.c
+++ b/src/savage_i2c.c
@@ -48,8 +48,7 @@ SavageI2CPutBits(I2CBusPtr b, int clock, int data)
if(clock) reg |= 0x1;
if(data) reg |= 0x2;
- /*OutI2CREG(psav,reg);*/ /*tim*/
- OutI2CREG(reg,psav->DDCPort); /*s3*/
+ OutI2CREG(reg,psav->DDCPort);
/*ErrorF("SavageI2CPutBits: %d %d\n", clock, data); */
}
@@ -60,8 +59,7 @@ SavageI2CGetBits(I2CBusPtr b, int *clock, int *data)
SavagePtr psav = SAVPTR(pScrn);
unsigned char reg = 0x10;
- /*InI2CREG(psav,reg);*/ /*tim*/
- InI2CREG(reg,psav->DDCPort); /*s3*/
+ InI2CREG(reg,psav->DDCPort);
*clock = reg & 0x4;
*data = reg & 0x8;