simplify code, bugfixes PE3
This commit is contained in:
parent
5f18fc6955
commit
026b961d5e
2 changed files with 41 additions and 240 deletions
|
@ -87,12 +87,13 @@ uint8_t
|
|||
is_button_ext4(void)
|
||||
{
|
||||
/* Return true if button has been pressed. */
|
||||
if ( PINE & (1<<PINE0) ) {
|
||||
return 0;
|
||||
}
|
||||
else{
|
||||
return 1;
|
||||
}
|
||||
// if ( PINE & (1<<PINE0) ) {
|
||||
// return 0;
|
||||
// }
|
||||
// else{
|
||||
// return 1;
|
||||
// }
|
||||
return 0;
|
||||
}
|
||||
uint8_t
|
||||
is_button_ext5(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue