Fix build on Linux

This commit is contained in:
Mike Black W9MDB 2024-08-28 16:45:59 -05:00
parent 0dd52cec02
commit 25ecaea63a

View File

@ -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;
}
}