aboutsummaryrefslogtreecommitdiff
path: root/src/crc.rs
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2019-02-20 11:32:59 +0000
committerRobin Krahl <robin.krahl@ireas.org>2019-02-20 12:50:15 +0100
commit990063fb3ecfc6baeb51e4f57b3f75ee16bac56e (patch)
tree7c83c6381210bf5223a13fd43b3731d401bdfd02 /src/crc.rs
parent1e127de5173e3b8fb62efc79f97651ca22694441 (diff)
downloadntw-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