aboutsummaryrefslogtreecommitdiffstats
path: root/src/glutt-o-logique
diff options
context:
space:
mode:
authorMaximilien Cuony <maximilien@theglu.org>2016-06-05 22:28:56 +0200
committerMaximilien Cuony <maximilien@theglu.org>2016-06-05 22:28:56 +0200
commit765b06950c1a5b55bb96a29f9da3c136f790a0f2 (patch)
treeebe75c291b201a16cf16ed52fbfc2c82d13a98ff /src/glutt-o-logique
parent327114f6c35a2c28004eb950baf5d1c1c175824a (diff)
downloadglutte-o-matic-765b06950c1a5b55bb96a29f9da3c136f790a0f2.tar.gz
glutte-o-matic-765b06950c1a5b55bb96a29f9da3c136f790a0f2.tar.bz2
glutte-o-matic-765b06950c1a5b55bb96a29f9da3c136f790a0f2.zip
Fix warnings
Diffstat (limited to 'src/glutt-o-logique')
-rw-r--r--src/glutt-o-logique/Makefile1
-rw-r--r--src/glutt-o-logique/ds18b20/tm_stm32f4_onewire.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/glutt-o-logique/Makefile b/src/glutt-o-logique/Makefile
index 4f0aa14..6762514 100644
--- a/src/glutt-o-logique/Makefile
+++ b/src/glutt-o-logique/Makefile
@@ -39,6 +39,7 @@ MCFLAGS=-mcpu=cortex-m4 -mthumb -mlittle-endian \
-mfpu=fpv4-sp-d16 -mfloat-abi=softfp -mthumb-interwork
# COMPILE FLAGS
DEFS=-DUSE_STDPERIPH_DRIVER -DSTM32F4XX -DARM_MATH_CM4 -D__FPU_PRESENT=1
+
CFLAGS =-Wall -ggdb -std=c99 -c $(MCFLAGS) $(DEFS) $(INCLUDES)
# LINKER FLAGS
LDSCRIPT= $(SRCDIR)/bsp/stm32_flash.ld
diff --git a/src/glutt-o-logique/ds18b20/tm_stm32f4_onewire.c b/src/glutt-o-logique/ds18b20/tm_stm32f4_onewire.c
index 44ec8db..4fdce73 100644
--- a/src/glutt-o-logique/ds18b20/tm_stm32f4_onewire.c
+++ b/src/glutt-o-logique/ds18b20/tm_stm32f4_onewire.c
@@ -20,11 +20,13 @@
void delay_us(uint32_t);
+/*
static void
TM_GPIO_SetBits(GPIO_TypeDef* GPIOx, uint16_t GPIO_Pin)
{
GPIO_SetBits(GPIOx, GPIO_Pin);
}
+*/
static void
TM_GPIO_ResetBits(GPIO_TypeDef* GPIOx, uint16_t GPIO_Pin)