summaryrefslogtreecommitdiffstats
path: root/stm32/app/ds1820.c
diff options
context:
space:
mode:
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))