~martijnbraam/pyatem

09750fa2d20a73725f213de30c25b2bc7479a9bf — Martijn Braam 6 months ago ebac2f9
pyatem: add more overrides for cameracontrol packets
1 files changed, 6 insertions(+), 0 deletions(-)

M pyatem/field.py
M pyatem/field.py => pyatem/field.py +6 -0
@@ 2720,6 2720,12 @@ class CameraControlDataPacketField(FieldBase):

        num_elements = sum(weird)
        num_overrides = {
            (0, 0): 1,
            (0, 1): 0,
            (0, 2): 1,
            (0, 3): 1.,
            (0, 4): 1,
            (0, 6): 1,
            (1, 2): 2
        }
        if (self.category, self.parameter) in num_overrides: