fixing linting issue
This commit is contained in:
parent
06d5da50a2
commit
07ea03d12b
@ -72,7 +72,7 @@ void HuaweiCanClass::onReceive(uint8_t* frame, uint8_t len)
|
||||
return;
|
||||
}
|
||||
|
||||
uint32_t value = __bswap32(*(uint32_t*)&frame[4]);
|
||||
uint32_t value = __bswap32(* reinterpret_cast<uint32_t*> (frame + 4));
|
||||
|
||||
switch (frame[1]) {
|
||||
case R48xx_DATA_INPUT_POWER:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user