MCPcopy Create free account
hub / github.com/Hamlib/Hamlib / write_block2

Function write_block2

tests/rigctlcom.c:692–706  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

690
691
692static int write_block2(void *func,
693 hamlib_port_t *p,
694 const char *txbuffer,
695 size_t count)
696{
697 int retval = write_block(p, (unsigned char *) txbuffer, count);
698 hl_usleep(5000);
699
700 if (retval != RIG_OK)
701 {
702 rig_debug(RIG_DEBUG_ERR, "%s: %s\n", __func__, rigerror(retval));
703 }
704
705 return retval;
706}
707
708
709/*

Callers 1

handle_ts2000Function · 0.85

Calls 4

write_blockFunction · 0.85
hl_usleepFunction · 0.85
rig_debugFunction · 0.85
rigerrorFunction · 0.85

Tested by

no test coverage detected