mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-10-01 01:26:06 -04:00
Improve comment accuracy.
This commit is contained in:
parent
99871dcb84
commit
e6351ca066
@ -299,7 +299,7 @@ static std::string ais_format_navigational_status(const unsigned int value) {
|
||||
decoded_packet packet_decode(const std::bitset<1024>& payload, const size_t payload_length) {
|
||||
// TODO: Unstuff here, not in baseband!
|
||||
|
||||
// Subtract end flag (6 bits) + one unstuffing bit (occurs during end flag).
|
||||
// Subtract end flag (8 bits) - one unstuffing bit (occurs during end flag).
|
||||
const size_t data_and_fcs_length = payload_length - 7;
|
||||
|
||||
if( data_and_fcs_length < 38 ) {
|
||||
|
Loading…
Reference in New Issue
Block a user