Closed nash-pillai closed 1 year ago
Thanks for the report. Indeed setAutoClear()
is an unsupported operation on TelemetryAdapter
. I intentionally don't support auto clear to allow multiple telemetry packets to be sent in the same "loop" and not have them clear each other, and the current code reflects that reality while (nominally) conforming to the Telemetry
interface. Granted, I may have misunderstood the semantics here.
The following code makes me think that this is supposed to be a supported operation:
The opmode crashes when I call this method on MultipleTelemetry but not when I call it on the normal telemetry object.