Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
NuttX RTOS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
f4grx
NuttX RTOS
Commits
cbebd9c9
Commit
cbebd9c9
authored
8 years ago
by
Gregory Nutt
Browse files
Options
Downloads
Patches
Plain Diff
Lower case hex
parent
d3a5bd4b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
drivers/audio/tone.c
+12
-12
12 additions, 12 deletions
drivers/audio/tone.c
with
12 additions
and
12 deletions
drivers/audio/tone.c
+
12
−
12
View file @
cbebd9c9
...
...
@@ -117,18 +117,18 @@ static const uint8_t g_note_tab[] = { 9, 11, 0, 2, 4, 5, 7 };
static
const
uint16_t
g_notes_freq
[
84
]
=
{
0x0041
,
0x0045
,
0x0049
,
0x004
D
,
0x0052
,
0x0057
,
0x005
C
,
0x0061
,
0x0067
,
0x006
E
,
0x0074
,
0x007
B
,
0x0082
,
0x008
A
,
0x0092
,
0x009
B
,
0x00
A
4
,
0x00
AE
,
0x00
B
8
,
0x00
C
3
,
0x00
CF
,
0x00
DC
,
0x00
E
9
,
0x00
F
6
,
0x0105
,
0x0115
,
0x0125
,
0x0137
,
0x0149
,
0x015
D
,
0x0171
,
0x0187
,
0x019
F
,
0x01
B
8
,
0x01
D
2
,
0x01
ED
,
0x020
B
,
0x022
A
,
0x024
B
,
0x026
E
,
0x0293
,
0x02
BA
,
0x02
E
3
,
0x030
F
,
0x033
E
,
0x0370
,
0x03
A
4
,
0x03
DB
,
0x0416
,
0x0454
,
0x0496
,
0x04
DC
,
0x0526
,
0x0574
,
0x05
C
7
,
0x061
F
,
0x067
D
,
0x06
E
0
,
0x0748
,
0x07
B
7
,
0x082
D
,
0x08
A
9
,
0x092
D
,
0x09
B
9
,
0x0
A4D
,
0x0
AE
9
,
0x0
B8F
,
0x0
C3F
,
0x0
CFA
,
0x0
DC
0
,
0x0
E
91
,
0x0
F6F
,
0x105
A
,
0x1152
,
0x125
A
,
0x1372
,
0x149
A
,
0x15
D
3
,
0x171
F
,
0x187
F
,
0x19
F
4
,
0x1
B
80
,
0x1
D
22
,
0x1
EDE
0x0041
,
0x0045
,
0x0049
,
0x004
d
,
0x0052
,
0x0057
,
0x005
c
,
0x0061
,
0x0067
,
0x006
e
,
0x0074
,
0x007
b
,
0x0082
,
0x008
a
,
0x0092
,
0x009
b
,
0x00
a
4
,
0x00
ae
,
0x00
b
8
,
0x00
c
3
,
0x00
cf
,
0x00
dc
,
0x00
e
9
,
0x00
f
6
,
0x0105
,
0x0115
,
0x0125
,
0x0137
,
0x0149
,
0x015
d
,
0x0171
,
0x0187
,
0x019
f
,
0x01
b
8
,
0x01
d
2
,
0x01
ed
,
0x020
b
,
0x022
a
,
0x024
b
,
0x026
e
,
0x0293
,
0x02
ba
,
0x02
e
3
,
0x030
f
,
0x033
e
,
0x0370
,
0x03
a
4
,
0x03
db
,
0x0416
,
0x0454
,
0x0496
,
0x04
dc
,
0x0526
,
0x0574
,
0x05
c
7
,
0x061
f
,
0x067
d
,
0x06
e
0
,
0x0748
,
0x07
b
7
,
0x082
d
,
0x08
a
9
,
0x092
d
,
0x09
b
9
,
0x0
a4d
,
0x0
ae
9
,
0x0
b8f
,
0x0
c3f
,
0x0
cfa
,
0x0
dc
0
,
0x0
e
91
,
0x0
f6f
,
0x105
a
,
0x1152
,
0x125
a
,
0x1372
,
0x149
a
,
0x15
d
3
,
0x171
f
,
0x187
f
,
0x19
f
4
,
0x1
b
80
,
0x1
d
22
,
0x1
ede
};
/* Global variable used by the tone generator */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment