Cleanup and refactoring of the STM32w port
This is a general cleanup of things like code style issues and code structure of the STM32w port to make it more like the rest of Contiki is structured.
This commit is contained in:
parent
12b3d02ba1
commit
a5046e83c7
118 changed files with 4470 additions and 4281 deletions
|
@ -36,7 +36,7 @@ typedef enum
|
|||
* @return stopbits The number of stop bits used for communication.
|
||||
* Valid values are 1 or 2
|
||||
*/
|
||||
void uartInit(int32u baudrate, int8u databits, SerialParity parity, int8u stopbits);
|
||||
void uartInit(uint32_t baudrate, uint8_t databits, SerialParity parity, uint8_t stopbits);
|
||||
|
||||
#ifdef __ICCARM__
|
||||
/**
|
||||
|
@ -63,7 +63,7 @@ size_t fflush(int handle);
|
|||
/**
|
||||
* @brief Read the input byte if any.
|
||||
*/
|
||||
boolean __io_getcharNonBlocking(int8u *data);
|
||||
boolean __io_getcharNonBlocking(uint8_t *data);
|
||||
void __io_putchar( char c );
|
||||
int __io_getchar(void);
|
||||
void __io_flush( void );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue