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
|
@ -46,11 +46,11 @@
|
|||
struct {
|
||||
char signature[4];
|
||||
struct uip_eth_addr ethernet_address;
|
||||
u8_t *buffer;
|
||||
u16_t buffer_size;
|
||||
void __fastcall__ (* init)(u16_t reg);
|
||||
u16_t (* poll)(void);
|
||||
void __fastcall__ (* send)(u16_t len);
|
||||
uint8_t *buffer;
|
||||
uint16_t buffer_size;
|
||||
void __fastcall__ (* init)(uint16_t reg);
|
||||
uint16_t (* poll)(void);
|
||||
void __fastcall__ (* send)(uint16_t len);
|
||||
void (* exit)(void);
|
||||
} *module;
|
||||
|
||||
|
@ -63,7 +63,7 @@ ethernet_init(struct ethernet_config *config)
|
|||
#ifndef ETHERNET
|
||||
|
||||
struct mod_ctrl module_control = {cfs_read};
|
||||
u8_t byte;
|
||||
uint8_t byte;
|
||||
|
||||
module_control.callerdata = cfs_open(config->name, CFS_READ);
|
||||
if(module_control.callerdata < 0) {
|
||||
|
@ -103,7 +103,7 @@ ethernet_init(struct ethernet_config *config)
|
|||
uip_setethaddr(module->ethernet_address);
|
||||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
u16_t
|
||||
uint16_t
|
||||
ethernet_poll(void)
|
||||
{
|
||||
return module->poll();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue