File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -541,7 +541,7 @@ impl<'a> MultiPageMenu<'a> {
541
541
loop {
542
542
match self . comm . next_event ( ) {
543
543
io:: Event :: Button ( button) => {
544
- if UxEvent :: Event . request ( self . comm ) == BOLOS_UX_OK {
544
+ if UxEvent :: Event . request ( ) == BOLOS_UX_OK {
545
545
match button {
546
546
BothButtonsRelease => return EventOrPageIndex :: Index ( index) ,
547
547
b => {
@@ -573,7 +573,7 @@ impl<'a> MultiPageMenu<'a> {
573
573
}
574
574
io:: Event :: Command ( ins) => return EventOrPageIndex :: Event ( io:: Event :: Command ( ins) ) ,
575
575
io:: Event :: Ticker => {
576
- if UxEvent :: Event . request ( self . comm ) != BOLOS_UX_OK {
576
+ if UxEvent :: Event . request ( ) != BOLOS_UX_OK {
577
577
// pin lock management
578
578
UxEvent :: block_and_get_event :: < Temp > ( self . comm ) ;
579
579
// notify Ticker event only when redisplay is required
You can’t perform that action at this time.
0 commit comments