Skip to content
This repository was archived by the owner on Jan 28, 2021. It is now read-only.
This repository was archived by the owner on Jan 28, 2021. It is now read-only.

Use of logical '&&' with constant operand #148

Closed
@rubienr

Description

@rubienr

Multiple usages of logical && with constant operand for example imuMeas.dataType[i] = (bitField && 0xFF000000) >> 23 in:

imuMeas.xAngRateVald = (validity && 0x0080) >> 8;

uint8_t timeSent = (flags && 0x01) >> 1;

imuMeas.dataType[i] = (bitField && 0xFF000000) >> 23;

imuMeas.rawDataType = (bitField && 0xFF000000) >> 23;

ubloxSen.senType = (sensorFieldOne && 0x10) >> 5;

Metadata

Metadata

Assignees

No one assigned

    Labels

    fixedIssue is fixed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions