diff options
author | inmarket <andrewh@inmarket.com.au> | 2018-07-08 14:30:31 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2018-07-08 14:30:31 +1000 |
commit | 215f31ee3dd27f461540384cdba04b58b481fadc (patch) | |
tree | 1a100121d47819202187914dc4a321cfb7030351 /boards/base/STM32F746-Discovery | |
parent | e23ae94e91369501df310bc3afd4ab711d263cab (diff) | |
download | uGFX-215f31ee3dd27f461540384cdba04b58b481fadc.tar.gz uGFX-215f31ee3dd27f461540384cdba04b58b481fadc.tar.bz2 uGFX-215f31ee3dd27f461540384cdba04b58b481fadc.zip |
Added type gDelay to replace V2.x delaytime_t
Added type gTicks to replace V2.x systemticks_t
Added type gThreadreturn to replace V2.x threadreturn_t
Added type gThreadpriority to replace V2.x threadpriority_t
Diffstat (limited to 'boards/base/STM32F746-Discovery')
-rw-r--r-- | boards/base/STM32F746-Discovery/stm32f746g_discovery_sdram.c | 2 | ||||
-rw-r--r-- | boards/base/STM32F746-Discovery/stm32f746g_raw32_ugfx.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/boards/base/STM32F746-Discovery/stm32f746g_discovery_sdram.c b/boards/base/STM32F746-Discovery/stm32f746g_discovery_sdram.c index a973a0b6..35a60a97 100644 --- a/boards/base/STM32F746-Discovery/stm32f746g_discovery_sdram.c +++ b/boards/base/STM32F746-Discovery/stm32f746g_discovery_sdram.c @@ -259,7 +259,7 @@ static HAL_StatusTypeDef _HAL_SDRAM_SendCommand(SDRAM_HandleTypeDef *hsdram, FMC static HAL_StatusTypeDef _FMC_SDRAM_SendCommand(FMC_SDRAM_TypeDef *Device, FMC_SDRAM_CommandTypeDef *Command, uint32_t Timeout) { __IO uint32_t tmpr = 0; - systemticks_t tickstart = 0; + gTicks tickstart = 0; /* Set command register */ tmpr = (uint32_t)((Command->CommandMode) |\ diff --git a/boards/base/STM32F746-Discovery/stm32f746g_raw32_ugfx.c b/boards/base/STM32F746-Discovery/stm32f746g_raw32_ugfx.c index f521b865..77183b8a 100644 --- a/boards/base/STM32F746-Discovery/stm32f746g_raw32_ugfx.c +++ b/boards/base/STM32F746-Discovery/stm32f746g_raw32_ugfx.c @@ -9,12 +9,12 @@ #if GFX_USE_OS_CHIBIOS
#define HAL_GPIO_Init(port, ptr) palSetGroupMode(port, (ptr)->Pin, 0, (ptr)->Mode|((ptr)->Speed<<3)|((ptr)->Pull<<5)|((ptr)->Alternate<<7))
#else
- systemticks_t gfxSystemTicks(void)
+ gTicks gfxSystemTicks(void)
{
return HAL_GetTick();
}
- systemticks_t gfxMillisecondsToTicks(delaytime_t ms)
+ gTicks gfxMillisecondsToTicks(gDelay ms)
{
return ms;
}
|