From d47bc9182fbfd1b4c6bb22ecbc82ce16107a60b9 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 31 Dec 1999 19:54:26 -0500 Subject: keep i2c test code in --- response.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'response.c') diff --git a/response.c b/response.c index 806d0d8..6871a82 100644 --- a/response.c +++ b/response.c @@ -106,14 +106,14 @@ void responseCb(gpointer instance, GObject *arg1, gpointer user_data) // remove leading and trailing whitespace g_strstrip (str); - guchar status = 0; // delete me, later - //I2C test code - FIXME - //I2C_Write (0x3b, 0xff); - //status = I2C_Read (0x3b); + guchar status = 0; // delete me, later - FIXME + I2C test code + I2C_Write (0x3b, 0xff); + status = I2C_Read (0x3b); // dummy response function gchar* upper = g_ascii_strup(str, len); - gchar *out_string = g_strdup_printf("%s\n%s\n%s\n%d\n",upper,upper,upper,status); + gchar *out_string = g_strdup_printf("%s\n%s\n%s\n%x\n",upper,upper,upper,status); gssize out_len = strlen (out_string); //send response back to client -- cgit