Skip to content

Commit d108602

Browse files
committed
docs: correct spelling and grammar in vdm.h
1 parent 02a801a commit d108602

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/libais/vdm.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
// The library is structured around NmeaSentence, which manages each line of
5050
// text. It validates the checksum and separates the field components.
5151
//
52-
// VdmStream takes a series of sentences, converts them to NmeaScentences, and
52+
// VdmStream takes a series of sentences, converts them to NmeaSentences, and
5353
// then assembles the parts into complete messages. When it has all of the
5454
// constituent sentences, it uses libais to decode the armored 6-bit payload
5555
// into AisMsg instances.
@@ -184,7 +184,7 @@ class NmeaSentence {
184184
const char channel_;
185185
// The VDM 6-bit encoded/armored payload of the message.
186186
const std::string body_;
187-
// The number of padding. Should be zero for all messages except the last.
187+
// The number of fill bits for padding. Should be zero for all messages except the last.
188188
// Must be 0, 2, or 4.
189189
const int fill_bits_;
190190

0 commit comments

Comments
 (0)