diff options
| author | tmk <nobody@nowhere> | 2012-08-25 15:49:08 +0900 |
|---|---|---|
| committer | tmk <nobody@nowhere> | 2012-08-28 21:56:15 +0900 |
| commit | c5060ea81942b0e3f8577536ff78402a19abe3d3 (patch) | |
| tree | bcdd4cd269be3064982014b0afdc0aea628d7048 /common/sendchar.h | |
| parent | 9382bf2f765cfbb8f7a9a48157391cac2bb71780 (diff) | |
| download | qmk_firmware-c5060ea81942b0e3f8577536ff78402a19abe3d3.tar.gz qmk_firmware-c5060ea81942b0e3f8577536ff78402a19abe3d3.zip | |
test build of 'Host shield' in minimal env.
Diffstat (limited to 'common/sendchar.h')
| -rw-r--r-- | common/sendchar.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/common/sendchar.h b/common/sendchar.h index 7c81303c7..7a64d00c7 100644 --- a/common/sendchar.h +++ b/common/sendchar.h | |||
| @@ -21,7 +21,15 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | #include <stdint.h> | 21 | #include <stdint.h> |
| 22 | 22 | ||
| 23 | 23 | ||
| 24 | #ifdef __cplusplus | ||
| 25 | extern "C" { | ||
| 26 | #endif | ||
| 27 | |||
| 24 | /* transmit a character. return 0 on success, -1 on error. */ | 28 | /* transmit a character. return 0 on success, -1 on error. */ |
| 25 | int8_t sendchar(uint8_t c); | 29 | int8_t sendchar(uint8_t c); |
| 26 | 30 | ||
| 31 | #ifdef __cplusplus | ||
| 32 | } | ||
| 33 | #endif | ||
| 34 | |||
| 27 | #endif | 35 | #endif |
