Network: Use Type::AutomotiveEthernet

This commit is contained in:
Kyle Schwarz
2025-10-30 23:40:30 -04:00
parent 3b60bfc986
commit 7f192a0cea
9 changed files with 16 additions and 8 deletions
+1
View File
@@ -90,6 +90,7 @@ static bool NeoMessageToSpyMessage(const neodevice_t* device, const neomessage_t
copyFrameData();
break;
case Network::Type::Ethernet:
case Network::Type::AutomotiveEthernet:
oldmsg.Protocol = SPY_PROTOCOL_ETHERNET;
oldmsg.NumberBytesData = static_cast<uint8_t>(frame.length & 0xFF);
oldmsg.NumberBytesHeader = static_cast<uint8_t>(frame.length >> 8);