change timings for ams messages
This commit is contained in:
parent
b7f10b326f
commit
bfe174530d
@ -192,7 +192,7 @@ int main(void)
|
||||
}
|
||||
|
||||
// Inverted in hardware
|
||||
if ((HAL_GetTick() - ams_last_tick) < 80) {
|
||||
if ((HAL_GetTick() - ams_last_tick) < 150) { //master sendet aller 100ms, fürs testen erstmal auf 150ms gesetzt -> kann später wieder runter
|
||||
HAL_GPIO_WritePin(IMD_LED_GPIO_Port, IMD_LED_Pin, dash_rx.imd_ok);
|
||||
HAL_GPIO_WritePin(AMS_LED_GPIO_Port, AMS_LED_Pin, dash_rx.ams_state != TS_ERROR);
|
||||
HAL_GPIO_WritePin(TSOFF_LED_GPIO_Port, TSOFF_LED_Pin, dash_rx.ams_state == TS_INACTIVE);
|
||||
|
Loading…
x
Reference in New Issue
Block a user