diff options
author | Callum Oakley <c.oakley108@gmail.com> | 2016-09-01 17:55:00 +0100 |
---|---|---|
committer | Callum Oakley <c.oakley108@gmail.com> | 2016-09-01 17:55:00 +0100 |
commit | 9c3193f22555119eb15f63f5ae5efe45e6d7358c (patch) | |
tree | a0dcfb3ed442c12a66b444c4c579711660c30657 /quantum/serial_link/protocol/transport.c | |
parent | 993d72b11fca8d50296570dc85e9354f8045c4a6 (diff) | |
parent | e28d151a8a1d458f3c18897c6095decc17b0c3a1 (diff) |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'quantum/serial_link/protocol/transport.c')
-rw-r--r-- | quantum/serial_link/protocol/transport.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/quantum/serial_link/protocol/transport.c b/quantum/serial_link/protocol/transport.c index f418d11ceb..ff795fe201 100644 --- a/quantum/serial_link/protocol/transport.c +++ b/quantum/serial_link/protocol/transport.c @@ -31,6 +31,10 @@ SOFTWARE. static remote_object_t* remote_objects[MAX_REMOTE_OBJECTS]; static uint32_t num_remote_objects = 0; +void reinitialize_serial_link_transport(void) { + num_remote_objects = 0; +} + void add_remote_objects(remote_object_t** _remote_objects, uint32_t _num_remote_objects) { unsigned int i; for(i=0;i<_num_remote_objects;i++) { |