From 765b06950c1a5b55bb96a29f9da3c136f790a0f2 Mon Sep 17 00:00:00 2001 From: Maximilien Cuony Date: Sun, 5 Jun 2016 22:28:56 +0200 Subject: Fix warnings --- src/glutt-o-logique/Makefile | 1 + src/glutt-o-logique/ds18b20/tm_stm32f4_onewire.c | 2 ++ 2 files changed, 3 insertions(+) (limited to 'src/glutt-o-logique') 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) -- cgit v1.2.3