From c8a702578923f5bcb1ebe66597caf9b9ed860481 Mon Sep 17 00:00:00 2001 From: "H. Utku Maden" Date: Mon, 9 Aug 2021 13:47:58 +0300 Subject: [PATCH] Fix small problem with one of the inline functions. --- include/ds3231.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/ds3231.h b/include/ds3231.h index ae7fc6e..53daea0 100644 --- a/include/ds3231.h +++ b/include/ds3231.h @@ -84,6 +84,7 @@ inline static int ds3231_endTemperatureF(ds3231_t driver, float *out_temperature } *out_temperature = (float)iTemp / 4.0f; + return 0; } #endif