diff options
author | Uros Majstorovic <majstor@majstor.org> | 2022-09-04 18:39:21 +0200 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2022-09-04 18:39:21 +0200 |
commit | d894eb01e9c979d0eb51f9495a7cf7281c213302 (patch) | |
tree | 9849af7b4c62cc22e61ff7e51c0169674d073986 /fw/fe310/test/cell_dev.c | |
parent | fc98d3809e0db36d634f290417b9152f87f83e3e (diff) |
removed old test
Diffstat (limited to 'fw/fe310/test/cell_dev.c')
-rw-r--r-- | fw/fe310/test/cell_dev.c | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/fw/fe310/test/cell_dev.c b/fw/fe310/test/cell_dev.c deleted file mode 100644 index 9598bc4..0000000 --- a/fw/fe310/test/cell_dev.c +++ /dev/null @@ -1,31 +0,0 @@ -#include <stdio.h> -#include <stdlib.h> -#include <unistd.h> -#include <string.h> - -#include <eos.h> -#include <dev/net.h> -#include <net/cell.h> - -#include <eve/eve.h> -#include <eve/eve_kbd.h> -#include <eve/eve_font.h> -#include <eve/screen/window.h> - -#include "app/app_root.h" -#include "app/app_status.h" - -#include "cell_dev.h" - -static void cell_dev_handler(unsigned char type, unsigned char *buffer, uint16_t len) { - switch (type) { - case EOS_CELL_MTYPE_READY: - app_status_msg_set("Modem ready", 1); - break; - } - eos_net_free(buffer, 0); -} - -void app_cell_dev_init(void) { - eos_cell_set_handler(EOS_CELL_MTYPE_DEV, cell_dev_handler); -} |