From 89eea5576162101d63472fbfa52b4a33d1ed13db Mon Sep 17 00:00:00 2001 From: Brad Nelson Date: Sun, 17 Jan 2021 22:39:42 -0800 Subject: [PATCH] Fix i2c interface mistake --- ueforth/arduino/arduino.template.ino | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ueforth/arduino/arduino.template.ino b/ueforth/arduino/arduino.template.ino index 3146dd3..84e0933 100644 --- a/ueforth/arduino/arduino.template.ino +++ b/ueforth/arduino/arduino.template.ino @@ -140,8 +140,7 @@ X("WebServer.handleClient", WEBSERVER_HANDLE_CLIENT, \ ((WebServer *) tos)->handleClient(); DROP) \ /* Wire */ \ - X("Wire.begin", WIRE_BEGIN, DUP; tos = (cell_t) Wire.begin()) \ - X("Wire.setPins", WIRE_SET_PINS, tos = (cell_t) Wire.begin(*sp, tos); --sp) \ + X("Wire.begin", WIRE_BEGIN, tos = (cell_t) Wire.begin(*sp, tos); --sp) \ X("Wire.setClock", WIRE_SET_CLOCK, Wire.setClock(tos); DROP) \ X("Wire.getClock", WIRE_GET_CLOCK, DUP; tos = (cell_t) Wire.getClock()) \ X("Wire.setTimeout", WIRE_SET_TIMEOUT, Wire.setTimeout(tos); DROP) \