feat: add missing 2023 spec red flag event

This commit is contained in:
Maciej Pędzich 2025-02-27 10:56:40 +01:00
parent 7b52f504ac
commit a160254b3a
Signed by: maciejpedzich
GPG Key ID: CE4A303D84882F0D

View File

@ -184,6 +184,9 @@ pub enum EventDetails {
#[br(map(ButtonStatus::from_bits_retain))]
button_status: ButtonStatus,
},
/// Sent when the red flag is shown.
#[br(magic = b"RDFL")]
RedFlag,
/// Sent when a car has overtaken another.
/// Available from the 2023 format onwards.
#[br(magic = b"OVTK")]