Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
Baitboat
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
OpenSource
Baitboat
Commits
f347572f
Commit
f347572f
authored
13 years ago
by
Andrew Tridgell
Browse files
Options
Downloads
Patches
Plain Diff
SITL: map() is a C++ function, so needs to be in C++ part of the header
this fixes the ACM build
parent
9adaaced
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libraries/Desktop/include/wiring.h
+1
-2
1 addition, 2 deletions
libraries/Desktop/include/wiring.h
with
1 addition
and
2 deletions
libraries/Desktop/include/wiring.h
+
1
−
2
View file @
f347572f
...
...
@@ -113,8 +113,6 @@ int analogRead(uint8_t);
void
analogReference
(
uint8_t
mode
);
void
analogWrite
(
uint8_t
,
int
);
long
map
(
long
,
long
,
long
,
long
,
long
);
unsigned
long
millis
(
void
);
unsigned
long
micros
(
void
);
void
delay
(
unsigned
long
);
...
...
@@ -133,5 +131,6 @@ void detachInterrupt(uint8_t);
void
setup
(
void
);
void
loop
(
void
);
long
map
(
long
,
long
,
long
,
long
,
long
);
#endif
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