46 */ |
46 */ |
47 key_list keytab[] = { |
47 key_list keytab[] = { |
48 {(char *)"mosq_host", getstr, &Config.mosq_host}, |
48 {(char *)"mosq_host", getstr, &Config.mosq_host}, |
49 {(char *)"mosq_port", getint, (char **)&Config.mosq_port}, |
49 {(char *)"mosq_port", getint, (char **)&Config.mosq_port}, |
50 {(char *)"w1therm", getw1, (char **)&Config.w1therms}, |
50 {(char *)"w1therm", getw1, (char **)&Config.w1therms}, |
|
51 #ifdef HAVE_WIRINGPI_H |
|
52 {(char *)"lcd_cols", getint, (char **)&Config.lcd_cols}, |
|
53 {(char *)"lcd_rows", getint, (char **)&Config.lcd_rows}, |
|
54 #endif |
51 {NULL, NULL, NULL} |
55 {NULL, NULL, NULL} |
52 }; |
56 }; |
53 |
57 |
54 |
58 |
55 |
59 |