QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
QGC::Fletcher8 Struct Reference

8-bit Fletcher checksum: two running byte sums modulo 256. More...

#include <Checksums.h>

Public Member Functions

constexpr bool operator== (const Fletcher8 &) const =default
 

Public Attributes

uint8_t a = 0
 
uint8_t b = 0
 

Detailed Description

8-bit Fletcher checksum: two running byte sums modulo 256.

Definition at line 9 of file Checksums.h.

Member Function Documentation

◆ operator==()

constexpr bool QGC::Fletcher8::operator== ( const Fletcher8 &  ) const
constexprdefault

Member Data Documentation

◆ a

uint8_t QGC::Fletcher8::a = 0

Definition at line 11 of file Checksums.h.

Referenced by UBX::FrameDecoder::consume().

◆ b

uint8_t QGC::Fletcher8::b = 0

Definition at line 12 of file Checksums.h.

Referenced by UBX::FrameDecoder::consume().


The documentation for this struct was generated from the following file: