From 8a84c531e26da5f06602e505c3591b09ea9bc741 Mon Sep 17 00:00:00 2001 From: fishsoupisgood Date: Tue, 26 May 2020 15:27:53 +0100 Subject: fish --- stm32/app/ds1820.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'stm32/app/ds1820.c') 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)) -- cgit v1.2.3