diff options
Diffstat (limited to 'src/glutt-o-logique')
-rw-r--r-- | src/glutt-o-logique/Makefile | 1 | ||||
-rw-r--r-- | src/glutt-o-logique/ds18b20/tm_stm32f4_onewire.c | 2 |
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)
|