brewpanel/dlgBrew.c

changeset 420
644a6106d712
parent 416
7e6d682fc950
child 422
13502d0dda65
--- a/brewpanel/dlgBrew.c	Sun Nov 08 22:20:42 2015 +0100
+++ b/brewpanel/dlgBrew.c	Sat Nov 14 16:52:33 2015 +0100
@@ -24,6 +24,7 @@
  *****************************************************************************/
 
 #include "brewpanel.h"
+#include "sockio.h"
 #include "dlgBrew.h"
 #include "sdlgui.h"
 #include "slcd.h"
@@ -97,12 +98,11 @@
     SDLGui_DoDialogInit(maindlg);
     fd = Dialog_LCDinit(&x, &y, &w, &h, &cols, &rows, 0);
     fprintf(stdout, "Dialog_LCDinit(%d, %d, %d, %d, %d, %d, 0) = %d\n", x, y, w, h, cols, rows, fd);
+    socket_connect();
     slcdInit(fd, x, y, w, h, cols, rows);
 
     do {
 	retbut = SDLGui_DoDialogLoop(maindlg);
-	slcdPuts(0, (char *)"Hello");
-
 	fprintf(stdout, "SDLGui_DoDialog retbut=%d\n", retbut);
 
 	switch (retbut) {

mercurial