mirror of https://github.com/rusefi/wideband.git
byteswap fix (#108)
* byteswap fix * no usage even better Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
This commit is contained in:
parent
463d3d382b
commit
124c403783
|
@ -128,8 +128,6 @@ void InitCan()
|
|||
chThdCreateStatic(waCanRxThread, sizeof(waCanRxThread), NORMALPRIO - 4, CanRxThread, nullptr);
|
||||
}
|
||||
|
||||
#define SWAP_UINT16(x) (((x) << 8) | ((x) >> 8))
|
||||
|
||||
void SendRusefiFormat(uint8_t idx)
|
||||
{
|
||||
auto baseAddress = 0x190 + 2 * idx;
|
||||
|
|
Loading…
Reference in New Issue