diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2019-02-20 11:32:59 +0000 |
---|---|---|
committer | Robin Krahl <robin.krahl@ireas.org> | 2019-02-20 12:50:15 +0100 |
commit | 990063fb3ecfc6baeb51e4f57b3f75ee16bac56e (patch) | |
tree | 7c83c6381210bf5223a13fd43b3731d401bdfd02 /src/crc.rs | |
parent | 1e127de5173e3b8fb62efc79f97651ca22694441 (diff) | |
download | ntw-990063fb3ecfc6baeb51e4f57b3f75ee16bac56e.tar.gz ntw-990063fb3ecfc6baeb51e4f57b3f75ee16bac56e.tar.bz2 |
Rename commands::COMMAND_LEN to device::RESPONSE_DATA_LEN
Previously, we had the device::REQUEST_DATA_LEN constant for the size of
the raw data in the request, and the commands::COMMAND_LEN constant for
the size of the raw data in the response. This patch renames
commands::COMMAND_LEN to device::RESPONSE_DATA_LEN for consistency. It
also introduces the {Request,Response}Data type aliases for [u8;
{REQUEST,RESPONSE}_DATA_LEN].
Diffstat (limited to 'src/crc.rs')
0 files changed, 0 insertions, 0 deletions