diff options
author | Jack Humbert <jack.humb@gmail.com> | 2016-08-27 17:06:45 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-27 17:06:45 -0400 |
commit | 4fd5ac8326f491a347b8c049f32a3353a633ebf5 (patch) | |
tree | c82d8b5325ea82a7544489022afe00bf909495c3 /quantum/serial_link/protocol/transport.c | |
parent | f815b4871ebc5cc2f8d1a306eceec68c0a973a4c (diff) | |
parent | 922c4ea3bc46f6246d9f67ead11bcf53ff947ef3 (diff) |
Merge pull request #690 from fredizzimo/unit_test
Add Unit Testing support
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++) { |