From 6666a131ab36b1d96a854da80524d860f9a3884b Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Wed, 19 Feb 2020 06:47:43 +0100 Subject: eve long press/double tap/inertial scroll spi flush bugfix resolved dependecies: spi -> net; event -> net renamed various handlers --- code/fe310/eos/sock.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'code/fe310/eos/sock.h') diff --git a/code/fe310/eos/sock.h b/code/fe310/eos/sock.h index db1db21..d647381 100644 --- a/code/fe310/eos/sock.h +++ b/code/fe310/eos/sock.h @@ -17,9 +17,9 @@ typedef struct EOSNetAddr { } EOSNetAddr; void eos_sock_init(void); -void eos_sock_set_handler(int sock, eos_evt_fptr_t handler, uint8_t flags); +void eos_sock_set_handler(unsigned char sock, eos_evt_handler_t handler); int eos_sock_open_udp(void); -void eos_sock_close(int sock); -int eos_sock_sendto(int sock, unsigned char *buffer, uint16_t size, unsigned char more, EOSNetAddr *addr); +void eos_sock_close(unsigned char sock); +int eos_sock_sendto(unsigned char sock, unsigned char *buffer, uint16_t size, unsigned char more, EOSNetAddr *addr); void eos_sock_getfrom(unsigned char *buffer, EOSNetAddr *addr); -- cgit v1.2.3