summaryrefslogtreecommitdiff
path: root/serial_link/protocol/transport.h
diff options
context:
space:
mode:
authorFred Sundvik <fsundvik@gmail.com>2016-03-12 19:35:09 +0200
committerFred Sundvik <fsundvik@gmail.com>2016-03-12 19:35:09 +0200
commit11bd4ba0dd39654318bd0a3ae495656c2b2187bb (patch)
tree2f14db1331b35a61877ee481e3a2779cb00ac542 /serial_link/protocol/transport.h
parent168c5b679f23c25263623f0f8f2b340543cf2140 (diff)
Remote object callable from many places
Change init_transport to add_remote_objects, so that it can be called many times from different places.
Diffstat (limited to 'serial_link/protocol/transport.h')
-rw-r--r--serial_link/protocol/transport.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/serial_link/protocol/transport.h b/serial_link/protocol/transport.h
index 9e9e22462c..e518aaa6eb 100644
--- a/serial_link/protocol/transport.h
+++ b/serial_link/protocol/transport.h
@@ -144,7 +144,7 @@ typedef struct { \
#define REMOTE_OBJECT(name) (remote_object_t*)&remote_object_##name
-void init_transport(remote_object_t** remote_objects, uint32_t num_remote_objects);
+void add_remote_objects(remote_object_t** remote_objects, uint32_t num_remote_objects);
void transport_recv_frame(uint8_t from, uint8_t* data, uint16_t size);
void update_transport(void);