mirror of
https://github.com/infiniteCable2/panda.git
synced 2026-02-19 17:53:53 +08:00
* Initial version of L-Line Relay * lline relay fix build, add to health * Add lline relay to safety * Lline relay fix build * Fix tests * Add lline safety init. Dont fwd with relay closed * Turn on relay with CAN * relay hook * More reliable lline relay * Longer LLine timeout * Only turn on wifi if not eon * Dont disable ESP in early * Allow CAN to be turned off - CAN is turned off via USB. - CAN is turned on when either try to transmit or can is received - If only transmit is asleep, all messages should send okay - If receive is alseep, will miss first message while waking up - Sometimes will report error on second message while CAN perif wakes up - Saves 130mW! * Power Saver Mode - Gray Panda power consumption 650mw -> 325mW - Turns off CAN, GMLAN, LIN, GPS when no activity for 10s - No acitvity is no CAN send, CAN Recv, Write to GPS * Fix power_saving to better turn off can - On some cars when the can is turned off, it triggers a wakeup. Delaying the automatic wakeup seems to fix this * Don't save power in pedal * Fix relay clicking on startup * Fix duplicate include * consistent relay setting * relay_status can be added when needed, as it's started_alt was consumed in other places * need to skip forwarding only if relay control is claimed * unneded change * make lline_relay.h not depending on can.h * less spaghetti I guess * less lines * reset pedal changes * no unused input * update version