Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
fwatch
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
8
Issues
8
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
fwatch
Commits
5cdb1169
Commit
5cdb1169
authored
Oct 07, 2014
by
Projects
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
example: Minor fix (update status bar on some events).
parent
cd1fddc1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
example_app.c
sw/freertos/src/apps/example_app.c
+1
-3
No files found.
sw/freertos/src/apps/example_app.c
View file @
5cdb1169
...
@@ -148,11 +148,9 @@ void example_main(void* params) {
...
@@ -148,11 +148,9 @@ void example_main(void* params) {
return
;
// go back to the main menu
return
;
// go back to the main menu
// no break; fall through
// no break; fall through
case
RTC_TICK
:
// there was no break, it handles BUTTON_PRESSED too
ui_update
(
&
evt
);
// forward event to widgets
default:
// suppress warnings
default:
// suppress warnings
// ignore events that were not mentioned above
// ignore events that were not mentioned above
ui_update
(
&
evt
);
// forward event to widgets
break
;
break
;
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment