mirror of
https://github.com/brmlab/edubrm.git
synced 2025-06-10 05:44:00 +02:00
fix shifts
This commit is contained in:
parent
af36fa43f0
commit
3e1c56c744
2 changed files with 6 additions and 6 deletions
|
@ -17,8 +17,8 @@ void GetInReport (uint8_t src[], uint32_t length)
|
|||
}
|
||||
src[14] = 0;
|
||||
src[14] |= (LPC_GPIO2->MASKED_ACCESS[1<<0] & (1<<0));
|
||||
src[14] |= (LPC_GPIO2->MASKED_ACCESS[1<<6] & (1<<6));
|
||||
src[14] |= (LPC_GPIO2->MASKED_ACCESS[1<<7] & (1<<7));
|
||||
src[14] |= (LPC_GPIO2->MASKED_ACCESS[1<<6] & (1<<6)) >> 5;
|
||||
src[14] |= (LPC_GPIO2->MASKED_ACCESS[1<<7] & (1<<7)) >> 5;
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue