From 5af4a915edf3e77705fa2625081200b61f8dda26 Mon Sep 17 00:00:00 2001 From: Paul Selkirk Date: Sun, 15 Oct 2017 21:34:00 -0400 Subject: Cleanup: All drivers return HAL_StatusTypeDef rather than magic values. Note: This affects libhal/ks_token.c, which uses the keystore driver directly. --- stm-fmc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'stm-fmc.h') diff --git a/stm-fmc.h b/stm-fmc.h index 722c478..d0f8bb4 100644 --- a/stm-fmc.h +++ b/stm-fmc.h @@ -57,7 +57,7 @@ extern void fmc_init(void); -extern int fmc_write_32(uint32_t addr, uint32_t *data); -extern int fmc_read_32(uint32_t addr, uint32_t *data); +extern HAL_StatusTypeDef fmc_write_32(uint32_t addr, uint32_t *data); +extern HAL_StatusTypeDef fmc_read_32(uint32_t addr, uint32_t *data); #endif /* __STM_FMC_H */ -- cgit v1.2.3