Skip to content

Source:reset

since 1.1.0

Reset the source (Flight / Timer / Telemetry)

source:reset()

Parameters

None.

Returns

Nothing.

Examples

From the official Ethos documentation
source1 = system.getSource("ALT")
source1:reset()
source2 = system.getSource({category=CATEGORY_TIMER, member=0})
source2:reset()