Mercurial > public > ostc4
comparison Common/Drivers/STM32F4xx/Source/Templates/gcc/startup_stm32f410cx.s @ 241:2b9775f71e30 div-fixes-5
cleanup: factor out I2C1_Status() and cleanup type
Having a function that returns global data is rather useless. Further,
use HAL_StatusTypeDef directly, instead of typecasting between a
HAL defined enum and our uint_8t. Cleanup only.
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
author | Jan Mulder <jlmulder@xs4all.nl> |
---|---|
date | Mon, 08 Apr 2019 11:18:40 +0200 (2019-04-08) |
parents | c78bcbd5deda |
children |
comparison
equal
deleted
inserted
replaced
240:625d20070261 | 241:2b9775f71e30 |
---|