summaryrefslogtreecommitdiff
path: root/code/fe310/eos/event.c
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2019-12-25 04:02:34 +0100
committerUros Majstorovic <majstor@majstor.org>2019-12-25 04:02:34 +0100
commitade4905ef785005347718ce612c245f7fa4dad70 (patch)
treeab69e156c669821369ced918b6a698b15b394251 /code/fe310/eos/event.c
parent08d725acb1638106bab46e29be8496b5d6db1cd3 (diff)
eve touch driver added; text box updated;
Diffstat (limited to 'code/fe310/eos/event.c')
-rw-r--r--code/fe310/eos/event.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/code/fe310/eos/event.c b/code/fe310/eos/event.c
index ed313fb..df75ad4 100644
--- a/code/fe310/eos/event.c
+++ b/code/fe310/eos/event.c
@@ -1,6 +1,7 @@
#include <stdlib.h>
#include <stdint.h>
#include <unistd.h>
+#include <stdio.h>
#include "encoding.h"
#include "platform.h"
@@ -43,7 +44,7 @@ void eos_evtq_pop(unsigned char *type, unsigned char **buffer, uint16_t *len) {
}
void eos_evtq_bad_handler(unsigned char type, unsigned char *buffer, uint16_t len) {
- write(1, "error\n", 6);
+ printf("evt bad handler:%d\n", type);
}
static void evtq_handler_wrapper(unsigned char type, unsigned char *buffer, uint16_t len) {