summaryrefslogtreecommitdiff
path: root/response.c
diff options
context:
space:
mode:
Diffstat (limited to 'response.c')
-rw-r--r--response.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/response.c b/response.c
index 6871a82..d0951d3 100644
--- a/response.c
+++ b/response.c
@@ -107,9 +107,9 @@ void responseCb(gpointer instance, GObject *arg1, gpointer user_data)
g_strstrip (str);
guchar status = 0; // delete me, later - FIXME
- I2C test code
- I2C_Write (0x3b, 0xff);
- status = I2C_Read (0x3b);
+ // I2C test code
+ I2C_Write (PCF8574A + Upper_Encoder_Port, 0xff);
+ status = I2C_Read (PCF8574A + Upper_Encoder_Port);
// dummy response function
gchar* upper = g_ascii_strup(str, len);