Searched refs:newstatus (Results 1 – 1 of 1) sorted by relevance
154 …uint8_t newstatus = (activity << PEDOMETER_STATUS_ACTIVITY_BITNUM) & PEDOMETER_STATUS_ACTIVITY_MAS… in status_update() local156 if ((newstatus ^ pPedometer->status.status.byte) & PEDOMETER_STATUS_ACTIVITY_MASK) in status_update()157 newstatus |= PEDOMETER_STATUS_ACTCHG_MASK; in status_update()163 newstatus |= PEDOMETER_STATUS_STEPCHG_MASK; in status_update()167 newstatus |= PEDOMETER_STATUS_SUSPEND_MASK; in status_update()169 if ((newstatus ^ pPedometer->status.status.byte) & PEDOMETER_STATUS_SUSPEND_MASK) in status_update()170 newstatus |= PEDOMETER_STATUS_SUSPCHG_MASK; in status_update()172 if (newstatus & PEDOMETER_STATUS_CHG_MASK) in status_update()173 newstatus |= PEDOMETER_STATUS_MRGFLG_MASK; in status_update()179 pPedometer->status.status.byte = newstatus; in status_update()