diff options
author | Uros Majstorovic <majstor@majstor.org> | 2020-05-17 04:03:23 +0200 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2020-05-17 04:03:23 +0200 |
commit | 75e57273a7ffded0ddcd3698ba68603c4be8a4cd (patch) | |
tree | 8b882cb41073ceadcdc5c27534a2dcc222adfb93 /code/fe310/eos/cell.h | |
parent | 5d157b4f7ecea4793c9da5c33a890d4ea4afc545 (diff) |
power management implemented; net protocol change
Diffstat (limited to 'code/fe310/eos/cell.h')
-rw-r--r-- | code/fe310/eos/cell.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/code/fe310/eos/cell.h b/code/fe310/eos/cell.h index 2103c72..7691ff6 100644 --- a/code/fe310/eos/cell.h +++ b/code/fe310/eos/cell.h @@ -1,16 +1,17 @@ #include <stdint.h> #include "event.h" -#define EOS_CELL_MTYPE_DATA 0 -#define EOS_CELL_MTYPE_AUDIO 1 +#define EOS_CELL_MTYPE_READY 0 +#define EOS_CELL_MTYPE_DATA 1 +#define EOS_CELL_MTYPE_AUDIO 2 -#define EOS_CELL_MTYPE_DATA_START 2 -#define EOS_CELL_MTYPE_DATA_STOP 3 +#define EOS_CELL_MTYPE_DATA_START 4 +#define EOS_CELL_MTYPE_DATA_STOP 5 -#define EOS_CELL_MTYPE_AUDIO_START 4 -#define EOS_CELL_MTYPE_AUDIO_STOP 5 +#define EOS_CELL_MTYPE_AUDIO_START 6 +#define EOS_CELL_MTYPE_AUDIO_STOP 7 -#define EOS_CELL_MAX_MTYPE 2 +#define EOS_CELL_MAX_MTYPE 4 void eos_cell_init(void); void eos_cell_set_handler(unsigned char mtype, eos_evt_handler_t handler);
\ No newline at end of file |