Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Arduino Core for SAMD21 CPU
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
josc941e
Arduino Core for SAMD21 CPU
Commits
1d1862e0
Commit
1d1862e0
authored
10 years ago
by
Thibaut VIARD
Browse files
Options
Downloads
Patches
Plain Diff
Fixing wrong pin test for DAC
Signed-off-by:
Thibaut VIARD
<
thibaut.viard@atmel.com
>
parent
36176eff
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
cores/arduino/wiring_analog.c
+1
-1
1 addition, 1 deletion
cores/arduino/wiring_analog.c
with
1 addition
and
1 deletion
cores/arduino/wiring_analog.c
+
1
−
1
View file @
1d1862e0
...
...
@@ -119,7 +119,7 @@ void analogWrite( uint32_t ulPin, uint32_t ulValue )
if
(
(
attr
&
PIN_ATTR_ANALOG
)
==
PIN_ATTR_ANALOG
)
{
if
(
ulPin
!=
24
)
// Only 1 DAC on A0 (PA02)
if
(
ulPin
!=
PIN_A0
)
// Only 1 DAC on A0 (PA02)
{
return
;
}
...
...
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