autosportlabs / RaceCapture-Pro_firmware

Firmware for RaceCapture-Pro Data Acquisition, control and Telemetry system for motorsports
GNU General Public License v3.0
66 stars 35 forks source link

P/brent/session time #1030

Closed brentpicasso closed 5 years ago

brentpicasso commented 5 years ago

Creates a "SessionTime" channel which tracks the length of a session. Continues until it is reset by the user via RaceCapture (API) or Lua.

Resolves #1029 #945

brentpicasso commented 5 years ago

The call to lapstats has a boolean to indicate if it should reset session time. Only if it is true will it reset session time.

Calls from Lua or API will reset session time, everywhere else it will not.

brentpicasso commented 5 years ago

resolves #1028