Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

codespell #247

Merged
merged 1 commit into from
Aug 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ais/stream/checksum.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def checksumStr(data):
if data[0]=='!' or data[0]=='?': data = data[1:]
if data[-1]=='*': data = data[:-1]
if data[-3]=='*': data = data[:-3]
# FIX: rename sum to not shadown builting function
# FIX: rename sum to not shadow builtin function
checksum = 0
for c in data:
checksum = checksum ^ ord(c)
Expand Down
2 changes: 1 addition & 1 deletion src/libais/ais.h
Original file line number Diff line number Diff line change
Expand Up @@ -2479,7 +2479,7 @@ class Ais16 : public AisMsg {
ostream& operator<< (ostream &o, const Ais16 &msg);

// ITU-R M.823 http://www.itu.int/rec/R-REC-M.823/en
// 17 - 'A' - GNSS broacast - TODO(schwehr): only partially coded
// 17 - 'A' - GNSS broadcast - TODO(schwehr): only partially coded
class Ais17 : public AisMsg {
public:
int spare;
Expand Down
2 changes: 1 addition & 1 deletion src/libais/ais17.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// A - GNSS broacast -
// A - GNSS broadcast -
// TODO(schwehr): only partially coded - need to finish
// http://www.itu.int/rec/R-REC-M.823/en
// http://www.iala-aism.org/iala/publications/documentspdf/doc_348_eng.pdf
Expand Down
2 changes: 1 addition & 1 deletion src/libais/ais26.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// 'J' - Multi slot binary message with comm state
// TODO(schwehr): handle payload
// BAD: the comm-state is after the veriable payload. This is a bad design.
// BAD: the comm-state is after the variable payload. This is a bad design.

// See also: http://www.e-navigation.nl/asm

Expand Down
2 changes: 1 addition & 1 deletion src/libais/vdm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ bool VdmStream::AddLine(const std::string &line) {
int seq = sentence->sequence_number();
int tot = sentence->sentence_total();

// These are enforced by NmeaSentence, so only check wehen debugging.
// These are enforced by NmeaSentence, so only check when debugging.
assert(seq < kNumSequenceChannels);
assert(tot < kMaxSentences);

Expand Down
Loading