Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions AIR001xx_HAL_Driver/Inc/air001xx_hal_i2c.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ extern "C" {

/* Includes ------------------------------------------------------------------*/
#include "air001xx_hal_def.h"
#include "air001xx_hal_dma.h"

/** @addtogroup AIRF1xx_HAL_Driver
* @{
Expand Down
4 changes: 2 additions & 2 deletions AIR001xx_HAL_Driver/Inc/air001xx_ll_usart.h
Original file line number Diff line number Diff line change
Expand Up @@ -998,8 +998,8 @@ __STATIC_INLINE void LL_USART_SetBaudRate(USART_TypeDef *USARTx, uint32_t Periph
*/
__STATIC_INLINE uint32_t LL_USART_GetBaudRate(USART_TypeDef *USARTx, uint32_t PeriphClk, uint32_t OverSampling)
{
register uint32_t usartdiv = 0x0U;
register uint32_t brrresult = 0x0U;
uint32_t usartdiv = 0x0U;
uint32_t brrresult = 0x0U;

usartdiv = USARTx->BRR;

Expand Down
2 changes: 1 addition & 1 deletion AIR001xx_HAL_Driver/Src/air001xx_ll_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ ErrorStatus LL_SetFlashLatency(uint32_t HCLKFrequency)
/* Frequency cannot be equal to 0 or greater than max clock */
if ((HCLKFrequency == 0U) || (HCLKFrequency > UTILS_SCALE1_LATENCY2_FREQ))
{
status = ERROR;
return ERROR;
}
else
{
Expand Down
4 changes: 2 additions & 2 deletions CMSIS/Include/cmsis_gcc.h
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ __attribute__( ( always_inline ) ) __STATIC_INLINE uint32_t __get_xPSR(void)
*/
__attribute__( ( always_inline ) ) __STATIC_INLINE uint32_t __get_PSP(void)
{
register uint32_t result;
uint32_t result;

__ASM volatile ("MRS %0, psp\n" : "=r" (result) );
return(result);
Expand All @@ -172,7 +172,7 @@ __attribute__( ( always_inline ) ) __STATIC_INLINE void __set_PSP(uint32_t topOf
*/
__attribute__( ( always_inline ) ) __STATIC_INLINE uint32_t __get_MSP(void)
{
register uint32_t result;
uint32_t result;

__ASM volatile ("MRS %0, msp\n" : "=r" (result) );
return(result);
Expand Down