From ae24d509011dc25650c0c346f49c4609e208ad1d Mon Sep 17 00:00:00 2001 From: Michael Black W9MDB Date: Tue, 2 Jun 2020 22:29:25 -0500 Subject: [PATCH] add numbers to rig_errcode_e documentation --- include/hamlib/rig.h | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/include/hamlib/rig.h b/include/hamlib/rig.h index 5b99b04d5..500b7f162 100644 --- a/include/hamlib/rig.h +++ b/include/hamlib/rig.h @@ -121,24 +121,24 @@ extern HAMLIB_EXPORT_VAR(const char *) hamlib_copyright2; * of rig_errcode_e definitions in case of error, or 0 when successful. */ enum rig_errcode_e { - RIG_OK = 0, /*!< No error, operation completed successfully */ - RIG_EINVAL, /*!< invalid parameter */ - RIG_ECONF, /*!< invalid configuration (serial,..) */ - RIG_ENOMEM, /*!< memory shortage */ - RIG_ENIMPL, /*!< function not implemented, but will be */ - RIG_ETIMEOUT, /*!< communication timed out */ - RIG_EIO, /*!< IO error, including open failed */ - RIG_EINTERNAL, /*!< Internal Hamlib error, huh! */ - RIG_EPROTO, /*!< Protocol error */ - RIG_ERJCTED, /*!< Command rejected by the rig */ - RIG_ETRUNC, /*!< Command performed, but arg truncated */ - RIG_ENAVAIL, /*!< function not available */ - RIG_ENTARGET, /*!< VFO not targetable */ - RIG_BUSERROR, /*!< Error talking on the bus */ - RIG_BUSBUSY, /*!< Collision on the bus */ - RIG_EARG, /*!< NULL RIG handle or any invalid pointer parameter in get arg */ - RIG_EVFO, /*!< Invalid VFO */ - RIG_EDOM /*!< Argument out of domain of func */ + RIG_OK = 0, /*!< 0 No error, operation completed successfully */ + RIG_EINVAL, /*!< 1 invalid parameter */ + RIG_ECONF, /*!< 2 invalid configuration (serial,..) */ + RIG_ENOMEM, /*!< 3 memory shortage */ + RIG_ENIMPL, /*!< 4 function not implemented, but will be */ + RIG_ETIMEOUT, /*!< 5 communication timed out */ + RIG_EIO, /*!< 6 IO error, including open failed */ + RIG_EINTERNAL, /*!< 7 Internal Hamlib error, huh! */ + RIG_EPROTO, /*!< 8 Protocol error */ + RIG_ERJCTED, /*!< 9 Command rejected by the rig */ + RIG_ETRUNC, /*!< 10 Command performed, but arg truncated */ + RIG_ENAVAIL, /*!< 11 Function not available */ + RIG_ENTARGET, /*!< 12 VFO not targetable */ + RIG_BUSERROR, /*!< 13 Error talking on the bus */ + RIG_BUSBUSY, /*!< 14 Collision on the bus */ + RIG_EARG, /*!< 15 NULL RIG handle or any invalid pointer parameter in get arg */ + RIG_EVFO, /*!< 16 Invalid VFO */ + RIG_EDOM /*!< 17 Argument out of domain of func */ }; /**