diff options
-rw-r--r-- | anzeige.c | 2 | ||||
-rw-r--r-- | input_gadgets.c | 2 | ||||
-rw-r--r-- | input_gadgets.h | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -51,7 +51,7 @@ int main(int argc, char **argv) } memset(text_buffer, 0, TEXT_BUFFER_LENGTH); - ret_val = gadgets_retrieve_temperature(text_buffer,TEXT_BUFFER_LENGTH); + ret_val = gadgets_retrieve_current_temperature(text_buffer,TEXT_BUFFER_LENGTH); if (ret_val) { free(text_buffer); exit(ret_val); diff --git a/input_gadgets.c b/input_gadgets.c index cf6e3d6..af5c622 100644 --- a/input_gadgets.c +++ b/input_gadgets.c @@ -28,7 +28,7 @@ WriteMemoryCallback(void *contents, size_t size, size_t nmemb, void *userp) return realsize; } -int gadgets_retrieve_temperature(unsigned char *output, int max_len) +int gadgets_retrieve_current_temperature(unsigned char *output, int max_len) { CURL *curl_handle; CURLcode res; diff --git a/input_gadgets.h b/input_gadgets.h index bedf94b..cdf1bcb 100644 --- a/input_gadgets.h +++ b/input_gadgets.h @@ -3,4 +3,4 @@ struct MemoryStruct { size_t size; }; -int gadgets_retrieve_temperature(unsigned char *output, int max_len); +int gadgets_retrieve_current_temperature(unsigned char *output, int max_len); |