[Style] More whitespace fixes.
This commit is contained in:
@@ -38,10 +38,11 @@
|
||||
void crs_autotrim_usb_enable(void)
|
||||
{
|
||||
rcc_periph_clock_enable(RCC_CRS);
|
||||
|
||||
|
||||
CRS_CFGR &= ~CRS_CFGR_SYNCSRC;
|
||||
CRS_CFGR |= CRS_CFGR_SYNCSRC_USB_SOF;
|
||||
|
||||
|
||||
CRS_CR |= CRS_CR_AUTOTRIMEN;
|
||||
CRS_CR |= CRS_CR_CEN;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -164,8 +164,8 @@ Status bit polling is used to detect end of operation.
|
||||
|
||||
void flash_program_word(uint32_t address, uint32_t data)
|
||||
{
|
||||
flash_program_half_word(address,(uint16_t)data);
|
||||
flash_program_half_word(address+2,(uint16_t)(data>>16));
|
||||
flash_program_half_word(address, (uint16_t)data);
|
||||
flash_program_half_word(address+2, (uint16_t)(data>>16));
|
||||
}
|
||||
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
||||
Reference in New Issue
Block a user