diff options
author | tmk <nobody@nowhere> | 2014-06-17 22:41:14 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2014-07-30 14:07:43 +0900 |
commit | e81c70149ecf73256f8bb7d77cefc07f2b91d2be (patch) | |
tree | d918595b92aa099537640cd02285f914b343bd67 /common/mousekey.h | |
parent | ee70fe59ee8ebc6dcbf55171b1a2dd72e1744ae6 (diff) | |
download | qmk_firmware-e81c70149ecf73256f8bb7d77cefc07f2b91d2be.tar.gz qmk_firmware-e81c70149ecf73256f8bb7d77cefc07f2b91d2be.zip |
Fix common files for mbed
Diffstat (limited to 'common/mousekey.h')
-rw-r--r-- | common/mousekey.h | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/common/mousekey.h b/common/mousekey.h index d8d7beaaa3..6eede06b44 100644 --- a/common/mousekey.h +++ b/common/mousekey.h @@ -52,12 +52,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #endif -uint8_t mk_delay; -uint8_t mk_interval; -uint8_t mk_max_speed; -uint8_t mk_time_to_max; -uint8_t mk_wheel_max_speed; -uint8_t mk_wheel_time_to_max; +#ifdef __cplusplus +extern "C" { +#endif + +extern uint8_t mk_delay; +extern uint8_t mk_interval; +extern uint8_t mk_max_speed; +extern uint8_t mk_time_to_max; +extern uint8_t mk_wheel_max_speed; +extern uint8_t mk_wheel_time_to_max; void mousekey_task(void); @@ -66,4 +70,8 @@ void mousekey_off(uint8_t code); void mousekey_clear(void); void mousekey_send(void); +#ifdef __cplusplus +} +#endif + #endif |