Converted u8_t to uint8_t and u16_t to uint16_t in the cpu directory.
This commit is contained in:
parent
372de7d08a
commit
1cda3da17e
46 changed files with 208 additions and 206 deletions
|
@ -138,8 +138,8 @@ uart1_init(unsigned long ubr)
|
|||
GPIO_PBCFGL &= 0xF00F;
|
||||
GPIO_PBCFGL |= 0x0490;
|
||||
|
||||
u16_t uartper = (u32_t)24e6/(2*ubr);
|
||||
u32_t rest = (u32_t)24e6%(2*ubr);
|
||||
uint16_t uartper = (uint32_t)24e6/(2*ubr);
|
||||
uint32_t rest = (uint32_t)24e6%(2*ubr);
|
||||
|
||||
SC1_UARTFRAC = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue