From 25ecaea63a34cb93bd12531181e2b1dfb1f61112 Mon Sep 17 00:00:00 2001 From: Mike Black W9MDB Date: Wed, 28 Aug 2024 16:45:59 -0500 Subject: [PATCH] Fix build on Linux --- rotators/skywatcher/skywatcher.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +}