Skip to content

Commit

Permalink
Cleanup Furuno
Browse files Browse the repository at this point in the history
  • Loading branch information
JoepdeJong authored Apr 18, 2024
1 parent 7b9bfb3 commit a32602c
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions pynmea2/types/proprietary/fec.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,14 @@
from ... import nmea
from ...nmea_utils import *


class FEC(nmea.ProprietarySentence):
sentence_types = {}

def __new__(_cls, manufacturer, data):
name = manufacturer + data[1]
print(data)
cls = _cls.sentence_types.get(name, _cls)
return super(FEC, cls).__new__(cls)

# def __init__(self, manufacturer, data):
# self.sentence_type = manufacturer + data[0]
# super(FEC, self).__init__(manufacturer, data)

class FECGPatt(FEC):
"""
Furuno GPatt Message
Expand Down

0 comments on commit a32602c

Please sign in to comment.