Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
X
xiaomi-m365-arduino-turn-signals
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Michael Nelson
xiaomi-m365-arduino-turn-signals
Commits
515cce80
Commit
515cce80
authored
Jan 11, 2019
by
Michael Nelson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve naming
parent
c01b5c45
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
main.ino
src/main.ino
+2
-2
No files found.
src/main.ino
View file @
515cce80
...
...
@@ -197,7 +197,7 @@ void blink_speaker_frame(int divisor)
// Each frame, this increments L/R/B hold time variables while the user is holding a button (or both) down.
// It also checks for the release. In that case it flips on either input_single_* or input_hold_* variables
// to be consumed later in the frame.
void
read_
dual_
buttons
()
void
read_buttons
()
{
for
(
int
i
=
0
;
i
<
num_ui_actions
;
i
++
)
{
input_single_hit
[
i
]
=
false
;
...
...
@@ -245,7 +245,7 @@ void read_dual_buttons()
void
set_up_mode
()
{
read_
dual_
buttons
();
read_buttons
();
if
(
input_hold_hit
[
btn_grip_both
])
{
...
...
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