started communication from scratch
[mTask.git] / int / interface_linux.c
index 381df88..c62e36f 100644 (file)
@@ -73,7 +73,7 @@ void write_dpin(uint8_t i, bool b)
 bool read_dpin(uint8_t i)
 {
        debug("dread %d", i);
-       return false;
+       return true;
        (void) i;
 }
 
@@ -152,6 +152,11 @@ void debug(char *fmt, ...)
        va_end(ap);
 }
 
+void debugi(int i)
+{
+       debug("%d", i);
+}
+
 void pdie(char *s)
 {
        perror(s);