kopia lustrzana https://github.com/Hamlib/Hamlib
Dropped RIG_STATUS_NEW from enum of possible backend states in rig.h.
Mapped all RIG_STATUS_NEW requests from existing applications to RIG_STATUS_UNTESTED for backward compatibility. git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2418 7ae35d74-ebe9-4afe-98af-79ac388436b8Hamlib-1.2.8
rodzic
c8a8832dc3
commit
cdab2cce53
|
@ -2,7 +2,7 @@
|
|||
* Hamlib Interface - API header
|
||||
* Copyright (c) 2000-2008 by Stephane Fillod and Frank Singleton
|
||||
*
|
||||
* $Id: rig.h,v 1.127 2008-05-04 21:15:16 fillods Exp $
|
||||
* $Id: rig.h,v 1.128 2008-10-25 11:36:02 y32kn Exp $
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Library General Public License as
|
||||
|
@ -236,9 +236,15 @@ enum rig_status_e {
|
|||
RIG_STATUS_BETA, /*!< Beta quality */
|
||||
RIG_STATUS_STABLE, /*!< Stable */
|
||||
RIG_STATUS_BUGGY, /*!< Was stable, but something broke it! */
|
||||
RIG_STATUS_NEW /*!< Initial release of code */
|
||||
/* RIG_STATUS_NEW * *!< Initial release of code
|
||||
* !! Use of RIG_STATUS_NEW is deprecated. Do not use it anymore */
|
||||
};
|
||||
|
||||
/*
|
||||
* Map all RIG_STATUS_NEW references to RIG_STATUS_UNTESTED for backward compatibility
|
||||
*/
|
||||
#define RIG_STATUS_NEW RIG_STATUS_UNTESTED
|
||||
|
||||
/**
|
||||
* \brief Repeater shift type
|
||||
*/
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* Hamlib Interface - toolbox
|
||||
* Copyright (c) 2000-2005 by Stephane Fillod
|
||||
*
|
||||
* $Id: misc.c,v 1.47 2008-05-04 21:15:17 fillods Exp $
|
||||
* $Id: misc.c,v 1.48 2008-10-25 11:36:02 y32kn Exp $
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Library General Public License as
|
||||
|
@ -248,8 +248,6 @@ const char * HAMLIB_API rig_strstatus(enum rig_status_e status)
|
|||
return "Stable";
|
||||
case RIG_STATUS_BUGGY:
|
||||
return "Buggy";
|
||||
case RIG_STATUS_NEW:
|
||||
return "New";
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue