mirror of
https://github.com/commaai/panda.git
synced 2026-06-12 23:27:23 +08:00
H7: explicitly disable GMLAN for now (#1532)
This commit is contained in:
@@ -272,6 +272,7 @@ bool bitbang_gmlan(CANPacket_t *to_bang) {
|
||||
gmlan_send_ok = true;
|
||||
gmlan_alt_mode = BITBANG;
|
||||
|
||||
#ifndef STM32H7
|
||||
if (gmlan_sendmax == -1) {
|
||||
int len = get_bit_message(pkt_stuffed, to_bang);
|
||||
gmlan_fail_count = 0;
|
||||
@@ -285,5 +286,8 @@ bool bitbang_gmlan(CANPacket_t *to_bang) {
|
||||
// 33kbps
|
||||
setup_timer();
|
||||
}
|
||||
#else
|
||||
UNUSED(to_bang);
|
||||
#endif
|
||||
return gmlan_send_ok;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user