diff options
author | Nick Van Doorn <vandoorn.nick@gmail.com> | 2018-11-07 01:50:39 -0800 |
---|---|---|
committer | Nick Van Doorn <vandoorn.nick@gmail.com> | 2018-11-07 01:50:39 -0800 |
commit | cf08b3f2617c37939cdf67a938bcb8be6ade8988 (patch) | |
tree | 8ea6484be2086de4ac26353a9c2653d8db1058c4 | |
parent | c22372c5fab3a0e240a5e623f6e080cefbe35add (diff) |
Move init
-rw-r--r-- | upload/Component.cdef | 1 | ||||
-rw-r--r-- | upload/init.c | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/upload/Component.cdef b/upload/Component.cdef index e44ad45..1253a5d 100644 --- a/upload/Component.cdef +++ b/upload/Component.cdef @@ -16,6 +16,7 @@ requires: sources: { + init.c upload.c xmodem.c crc16.c diff --git a/upload/init.c b/upload/init.c new file mode 100644 index 0000000..a416ebf --- /dev/null +++ b/upload/init.c @@ -0,0 +1,5 @@ +#include "upload.h" + +COMPONENT_INIT { + mtk_init(); +} |