From 1e2c8407526d3c6c6e964f45db000467806fde55 Mon Sep 17 00:00:00 2001 From: OSer Date: Mon, 2 Dec 2019 14:22:58 +0000 Subject: [PATCH] Merged in OSer916/nuttx/fix_stm32l4_sai (pull request #1083) boards/arm/stm32f7/stm32f746g-disco: add SAI driver * ignore TAGS * arch/arm/src/stm32l4/stm32l4_sai.c: fix type error Approved-by: Gregory Nutt --- .gitignore | 1 + arch/arm/src/stm32l4/stm32l4_sai.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index a56efa6b27..29f7a5ccc0 100644 --- a/.gitignore +++ b/.gitignore @@ -30,3 +30,4 @@ core /.project /pcode /tags +/TAGS diff --git a/arch/arm/src/stm32l4/stm32l4_sai.c b/arch/arm/src/stm32l4/stm32l4_sai.c index d84e4d5af9..dd9d399413 100644 --- a/arch/arm/src/stm32l4/stm32l4_sai.c +++ b/arch/arm/src/stm32l4/stm32l4_sai.c @@ -490,7 +490,7 @@ static void sai_exclsem_take(struct stm32l4_sai_s *priv) static void sai_mckdivider(struct stm32l4_sai_s *priv) { - uint8_t mckdiv; + uint32_t mckdiv; DEBUGASSERT(priv && priv->samplerate > 0 && priv->frequency > 0);