diff -r d676eaec0ee5 -r 7362ebd40f26 thermferm/slcd.c --- a/thermferm/slcd.c Mon Feb 22 19:24:49 2016 +0100 +++ b/thermferm/slcd.c Thu Feb 25 20:12:27 2016 +0100 @@ -136,9 +136,14 @@ -//void slcdCharDef(int fd, int index, unsigned char data[8]) -//{ -//} +void slcdCharDef(int fd, int index, unsigned char data[8]) +{ + int i; + + putLCDsocket(fd, SLCD_CGRAM | ((index & 7) << 3)); + for (i = 0 ; i < 8 ; ++i) + putLCDsocket(fd, data[i]); +}