kopia lustrzana https://github.com/Hamlib/Hamlib
Fix build on Linux
rodzic
0dd52cec02
commit
25ecaea63a
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue