Fix spelling errors

Hamlib-3.0
Kamal Mostafa 2012-08-21 19:54:50 -07:00
rodzic 790ac8075d
commit 3466512dbd
11 zmienionych plików z 15 dodań i 15 usunięć

Wyświetl plik

@ -158,7 +158,7 @@ http://www-cs-students.stanford.edu/~blynn/gitmagic/
1.1.2 Providing patches with Git
Git provides tools to generate patches and submit them to the Hamlib developers
via email. Use of these tools is prefered as Git allows credit to be given
via email. Use of these tools is preferred as Git allows credit to be given
to the author and submitter of the patches. Please submit the patches to
the hamlib-developer mailing list. See section 8.3.

Wyświetl plik

@ -82,7 +82,7 @@ extern HAMLIB_EXPORT_VAR(const char) hamlib_copyright[];
* of rig_errcode_e definitions in case of error, or 0 when successful.
*/
enum rig_errcode_e {
RIG_OK=0, /*!< No error, operation completed sucessfully */
RIG_OK=0, /*!< No error, operation completed successfully */
RIG_EINVAL, /*!< invalid parameter */
RIG_ECONF, /*!< invalid configuration (serial,..) */
RIG_ENOMEM, /*!< memory shortage */

Wyświetl plik

@ -312,7 +312,7 @@ int get_freq_v0(RIG *rig, vfo_t vfo, freq_t *freq)
{
struct funcube_priv_data *priv = (struct funcube_priv_data *)rig->state.priv;
rig_debug(RIG_DEBUG_TRACE, "%s: frequency is not read from the device, the value shown is the last succesfully set.\n",__func__);
rig_debug(RIG_DEBUG_TRACE, "%s: frequency is not read from the device, the value shown is the last successfully set.\n",__func__);
*freq = priv->freq;
return RIG_OK;

Wyświetl plik

@ -1220,7 +1220,7 @@ int win32_serial_open( const char *filename, int flags, ... )
if( check_port_capabilities( index ) )
{
report( "check_port_capabilites!" );
report( "check_port_capabilities!" );
win32_serial_close( index->fd );
return -1;
}

Wyświetl plik

@ -814,7 +814,7 @@ static int map_chan (RIG *rig, channel_t **chan, int channel_num, const chan_t *
* \param arg Arbitrary argument passed back to \a chan_cb
*
* Write the data associated with a all the memory channels.
* This is the prefered method to support clonable rigs.
* This is the preferred method to support clonable rigs.
*
* \return RIG_OK if the operation has been sucessful, otherwise
* a negative value if an error occured (in which case, cause is
@ -849,7 +849,7 @@ int HAMLIB_API rig_set_chan_all_cb (RIG *rig, chan_cb_t chan_cb, rig_ptr_t arg)
* \param arg Arbitrary argument passed back to \a chan_cb
*
* Retrieves the data associated with a all the memory channels.
* This is the prefered method to support clonable rigs.
* This is the preferred method to support clonable rigs.
*
* \a chan_cb is called first with no data in chan (chan equals NULL).
* This means the application has to provide a struct where to store
@ -1005,7 +1005,7 @@ int set_parm_all_cb_generic (RIG *rig, confval_cb_t parm_cb, rig_ptr_t cfgps,
*
* Writes the data associated with all the memory channels,
* and rigs memory parameters, by callback.
* This is the prefered method to support clonable rigs.
* This is the preferred method to support clonable rigs.
*
* \return RIG_OK if the operation has been sucessful, otherwise
* a negative value if an error occured (in which case, cause is
@ -1053,7 +1053,7 @@ int HAMLIB_API rig_set_mem_all_cb (RIG *rig, chan_cb_t chan_cb, confval_cb_t par
*
* Retrieves the data associated with all the memory channels,
* and rigs memory parameters, by callback.
* This is the prefered method to support clonable rigs.
* This is the preferred method to support clonable rigs.
*
* \return RIG_OK if the operation has been sucessful, otherwise
* a negative value if an error occured (in which case, cause is
@ -1156,7 +1156,7 @@ int HAMLIB_API rig_set_mem_all (RIG *rig, const channel_t chans[], const struct
*
* Retrieves the data associated with all the memory channels,
* and rigs memory parameters.
* This is the prefered method to support clonable rigs.
* This is the preferred method to support clonable rigs.
*
* \return RIG_OK if the operation has been sucessful, otherwise
* a negative value if an error occured (in which case, cause is

Wyświetl plik

@ -142,7 +142,7 @@ static struct opened_rig_l *opened_rig_list = { NULL };
* TODO: localise the messages..
*/
static const char *rigerror_table[] = {
"Command completed sucessfully",
"Command completed successfully",
"Invalid parameter",
"Invalid configuration",
"Memory shortage",

Wyświetl plik

@ -592,7 +592,7 @@ And a \\set_mode command prepended with a '|' returns:
.sp
set_mode: USB 2400|RPRT 0
.PP
Such a format will allow reading a response as a single event using a prefered
Such a format will allow reading a response as a single event using a preferred
response separator. Other punctuation characters have not been tested!
.PP
The following commands have been tested with the Extended Response protocol and

Wyświetl plik

@ -56,7 +56,7 @@ etc. on Win32.
.TP
.B \-s, --serial-speed=baud
Set serial speed to \fIbaud\fP rate. Uses maximum serial speed from rotator
backend capabilites as default.
backend capabilities as default.
.TP
.B \-t, --send-cmd-term=char
Change the termination \fIchar\fP for text protocol when using the

Wyświetl plik

@ -399,7 +399,7 @@ And a \\set_pos command prepended with a '|' returns:
.sp
set_pos: 135 22.5|RPRT 0
.PP
Such a format will allow reading a response as a single event using a prefered
Such a format will allow reading a response as a single event using a preferred
response separator. Other punctuation characters have not been tested!
.PP
All commands with the exception of \fI\\set_conf\fP have been tested with the

Wyświetl plik

@ -55,7 +55,7 @@ my $ret_val;
# Error values returned from rigctld by Hamlib name
my %errstr = (
RIG_OK => "0", # No error, operation completed sucessfully
RIG_OK => "0", # No error, operation completed successfully
RIG_EINVAL => "-1", # invalid parameter
RIG_ECONF => "-2", # invalid configuration (serial,..)
RIG_ENOMEM => "-3", # memory shortage

Wyświetl plik

@ -54,7 +54,7 @@ my $ret_val;
# Error values returned from rotctld by Hamlib name
my %errstr = (
RIG_OK => "0", # No error, operation completed sucessfully
RIG_OK => "0", # No error, operation completed successfully
RIG_EINVAL => "-1", # invalid parameter
RIG_ECONF => "-2", # invalid configuration (serial,..)
RIG_ENOMEM => "-3", # memory shortage