Skip to content
Snippets Groups Projects
Commit 39e8fae2 authored by Robert ter Vehn's avatar Robert ter Vehn
Browse files

Removed unnecessary 'extern C'-block

parent 62e90981
No related branches found
No related tags found
No related merge requests found
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment