Skip to content

Commit

Permalink
Whoops. Fix the button words.
Browse files Browse the repository at this point in the history
  • Loading branch information
rbsexton committed Aug 11, 2016
1 parent 632f86f commit 480e0e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zero/clock-umb/forth/Clock.fth
Expand Up @@ -269,7 +269,7 @@ variable uicount

_GPIO $64 + equ _BUTTONIO
: BUTTONUP? ( -- t/f ) _buttonio @ 1 and ;
: BUTTONDOWN? ( -- t/f ) buttonup? 1 or ;
: BUTTONDOWN? ( -- t/f ) buttonup? 1 xor ;

\ The wrapper for all of the UI stuff.
\ Returns true if the UI is active - ie, use the values generated by the UI.
Expand Down

0 comments on commit 480e0e9

Please sign in to comment.