summaryrefslogtreecommitdiffstats
path: root/stm32/app/ds1820.c
diff options
context:
space:
mode:
authorfishsoupisgood <github@madingley.org>2020-05-26 15:27:53 +0100
committerfishsoupisgood <github@madingley.org>2020-05-26 15:27:53 +0100
commit8a84c531e26da5f06602e505c3591b09ea9bc741 (patch)
tree3e9aba75f64cfde45f9456f96f3a578eefa2c365 /stm32/app/ds1820.c
parentf0d941bef6a9b6e3af78cfc68e1f82d6b47ccb2f (diff)
downloadheating-8a84c531e26da5f06602e505c3591b09ea9bc741.tar.gz
heating-8a84c531e26da5f06602e505c3591b09ea9bc741.tar.bz2
heating-8a84c531e26da5f06602e505c3591b09ea9bc741.zip
fish
Diffstat (limited to 'stm32/app/ds1820.c')
-rw-r--r--stm32/app/ds1820.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/stm32/app/ds1820.c b/stm32/app/ds1820.c
index 0da63fb..200f4b7 100644
--- a/stm32/app/ds1820.c
+++ b/stm32/app/ds1820.c
@@ -8,7 +8,7 @@
-unsigned extract_leu16 (uint8_t *d)
+static unsigned extract_leu16 (uint8_t *d)
{
uint32_t u;
@@ -18,7 +18,7 @@ unsigned extract_leu16 (uint8_t *d)
-int extract_les16 (uint8_t *d)
+static int extract_les16 (uint8_t *d)
{
uint32_t u;
u = extract_leu16 (d);
@@ -32,7 +32,7 @@ int extract_les16 (uint8_t *d)
-int
+static int
ds1820_read_sp (const Onewire_addr *a, unsigned page, uint8_t *buf, unsigned len)
{
if (onewire_reset_and_select (a))
@@ -49,7 +49,7 @@ ds1820_read_sp (const Onewire_addr *a, unsigned page, uint8_t *buf, unsigned len
-int ds1820_convert_t (const Onewire_addr *a)
+static int ds1820_convert_t (const Onewire_addr *a)
{
if (onewire_reset_and_select (a))