diff options
author | Maximilien Cuony <maximilien@theglu.org> | 2016-06-05 22:28:56 +0200 |
---|---|---|
committer | Maximilien Cuony <maximilien@theglu.org> | 2016-06-05 22:28:56 +0200 |
commit | 765b06950c1a5b55bb96a29f9da3c136f790a0f2 (patch) | |
tree | ebe75c291b201a16cf16ed52fbfc2c82d13a98ff /src/glutt-o-logique | |
parent | 327114f6c35a2c28004eb950baf5d1c1c175824a (diff) | |
download | glutte-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/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)
|