diff --git a/rotators/skywatcher/skywatcher.c b/rotators/skywatcher/skywatcher.c index 9a328a664..f76fb31f8 100644 --- a/rotators/skywatcher/skywatcher.c +++ b/rotators/skywatcher/skywatcher.c @@ -81,7 +81,7 @@ static int skywatcher_cmd(ROT *rot, const char *cmd, char *response, size_t resp return RIG_OK; } -inline uint32_t skywatcher_convert24bit(long input) { +uint32_t skywatcher_convert24bit(long input) { return ((input & 0x0000FF) << 16) | (input & 0x00FF00) | ((input & 0xFF0000) >> 16); } @@ -267,4 +267,4 @@ DECLARE_INITROT_BACKEND(skywatcher) { rig_debug(RIG_DEBUG_VERBOSE, "%s called\n", __func__); rot_register(&skywatcher_rot_caps); return RIG_OK; -} \ No newline at end of file +}