1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2025-12-16 07:23:07 +01:00

fix AIS decoding memory leaks

This commit is contained in:
andreas
2021-10-30 13:08:42 +02:00
parent e7b2c6e756
commit 8182ce1fe9
3 changed files with 9 additions and 10 deletions

View File

@@ -45,10 +45,11 @@ OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#define BITSET_LENGTH 120
typedef std::bitset<BITSET_LENGTH> AISBitSet;
class tNMEA0183AISMsg : public tNMEA0183Msg {
protected: // AIS-NMEA
std::bitset<BITSET_LENGTH> bset;
AISBitSet bset;
static const char *EmptyAISField; // 6bits 0 not used yet.....
static const char *AsciChar;