mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2025-12-24 11:13:06 +01:00
fix AIS decoding memory leaks
This commit is contained in:
@@ -36,7 +36,7 @@ OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||||||
#include <vector>
|
#include <vector>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
#define MAX_SHIP_IN_VECTOR 5
|
#define MAX_SHIP_IN_VECTOR 200
|
||||||
class ship {
|
class ship {
|
||||||
public:
|
public:
|
||||||
uint32_t _userID;
|
uint32_t _userID;
|
||||||
|
|||||||
@@ -49,7 +49,6 @@ typedef std::bitset<BITSET_LENGTH> AISBitSet;
|
|||||||
class tNMEA0183AISMsg : public tNMEA0183Msg {
|
class tNMEA0183AISMsg : public tNMEA0183Msg {
|
||||||
|
|
||||||
protected: // AIS-NMEA
|
protected: // AIS-NMEA
|
||||||
AISBitSet bset;
|
|
||||||
static const char *EmptyAISField; // 6bits 0 not used yet.....
|
static const char *EmptyAISField; // 6bits 0 not used yet.....
|
||||||
static const char *AsciChar;
|
static const char *AsciChar;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user