kopia lustrzana https://github.com/Hamlib/Hamlib
Fix cppcheck style
rodzic
17c5a8aed9
commit
aa3cf89886
|
@ -287,6 +287,10 @@ int ic7100_get_clock(RIG *rig, int *year, int *month, int *day, int *hour,
|
|||
prmbuf[0] = 0x01;
|
||||
prmbuf[1] = 0x23;
|
||||
retval = icom_transaction(rig, cmd, subcmd, prmbuf, 2, respbuf, &resplen);
|
||||
if (retval != RIG_OK)
|
||||
{
|
||||
return retval;
|
||||
}
|
||||
*utc_offset = from_bcd(&respbuf[4], 2) * 100;
|
||||
*utc_offset += from_bcd(&respbuf[5], 2);
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue