]> git.donarmstrong.com Git - tmk_firmware.git/blobdiff - common/sendchar.h
Fix rn42.h API
[tmk_firmware.git] / common / sendchar.h
index 7c81303c7a4fe0054145c2896af3b75f4eb1a39b..7a64d00c7f7aade309906eb737f411c5a227835b 100644 (file)
@@ -21,7 +21,15 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #include <stdint.h>
 
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /* transmit a character.  return 0 on success, -1 on error. */
 int8_t sendchar(uint8_t c);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif