diff options
author | 2019-05-21 19:28:23 +0300 | |
---|---|---|
committer | 2019-05-21 19:28:23 +0300 | |
commit | 5ca7e24e58f6bd657787b9235247149ffff420ae (patch) | |
tree | 86dc508026ce7fcc8431b52efe1315c3b983b469 /src/device | |
parent | 36b3e7f310c624b7b4e31829090dd02131c528d5 (diff) | |
download | usurpation-5ca7e24e58f6bd657787b9235247149ffff420ae.tar.gz usurpation-5ca7e24e58f6bd657787b9235247149ffff420ae.tar.bz2 usurpation-5ca7e24e58f6bd657787b9235247149ffff420ae.zip |
Protocol: common no longer has device-specific implementations.
Forgot to remove device-specific code from common protocol code.
Signed-off-by: Ramūnas Mažeikis <ramunasnezinomas@gmail.com>
Diffstat (limited to 'src/device')
-rwxr-xr-x | src/device/protocol_device.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/device/protocol_device.c b/src/device/protocol_device.c index 3b3d8c8..3e38e19 100755 --- a/src/device/protocol_device.c +++ b/src/device/protocol_device.c @@ -18,6 +18,11 @@ cd_t protocol_init(void) return 0; } +void clear_data(void) +{ + connection.inp_crs = 0; +} + static int push_bytes(cd_t cd, char *data, size_t size) { int ret = 0; |