byteswap fix (#108)

* byteswap fix

* no usage even better

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
This commit is contained in:
rusefillc 2022-07-13 13:37:35 -04:00 committed by GitHub
parent 463d3d382b
commit 124c403783
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -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;