diff options
Diffstat (limited to 'anzeige.c')
-rw-r--r-- | anzeige.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -85,6 +85,8 @@ int main(int argc, char **argv) text_buffer_end = text_buffer; + double temperature, humidity; + text_buffer_end = gadgets_retrieve_weather_warnings(text_buffer_end,text_buffer + TEXT_BUFFER_LENGTH - text_buffer_end); if (text_buffer_end == NULL) { fprintf(stderr, "gadgets_retrieve_weather_warnings failed\n"); @@ -94,7 +96,7 @@ int main(int argc, char **argv) } if (text_buffer + TEXT_BUFFER_LENGTH - text_buffer_end > 0) text_buffer_end += snprintf(text_buffer_end, text_buffer + TEXT_BUFFER_LENGTH - text_buffer_end, "; "); - text_buffer_end = gadgets_retrieve_current_temperature(text_buffer_end,text_buffer + TEXT_BUFFER_LENGTH - text_buffer_end); + text_buffer_end = gadgets_retrieve_current_temperature(text_buffer_end, text_buffer + TEXT_BUFFER_LENGTH - text_buffer_end, &temperature, &humidity); if (text_buffer_end == NULL) { fprintf(stderr, "gadgets_retrieve_current_temperature failed\n"); free(text_buffer); |