Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
rc-switch
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
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
c3pb
rc-switch
Commits
39e8fae2
Commit
39e8fae2
authored
8 years ago
by
Robert ter Vehn
Browse files
Options
Downloads
Patches
Plain Diff
Removed unnecessary 'extern C'-block
parent
62e90981
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
RCSwitch.h
+2
-8
2 additions, 8 deletions
RCSwitch.h
with
2 additions
and
8 deletions
RCSwitch.h
+
2
−
8
View file @
39e8fae2
...
...
@@ -49,14 +49,8 @@
#define CHANGE 1
// The following typedefs are needed to be able to compile RCSwitch.cpp
// with the RPi C++ compiler (g++)
#ifdef __cplusplus
extern
"C"
{
#endif
typedef
uint8_t
boolean
;
typedef
uint8_t
byte
;
#ifdef __cplusplus
}
#endif
typedef
uint8_t
boolean
;
typedef
uint8_t
byte
;
// Last line within Raspberry Pi block
#else
#include
"WProgram.h"
...
...
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