File tree 2 files changed +7
-7
lines changed
2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -871,7 +871,7 @@ bool QwDevTMF882X::getRange(TMF882XRange &range)
871
871
872
872
bool QwDevTMF882X::setRange (TMF882XRange &range)
873
873
{
874
- if (range == FAILED )
874
+ if (range == NOT_SUPPORTED )
875
875
return false ;
876
876
877
877
if (!_isInitialized)
Original file line number Diff line number Diff line change 70
70
//
71
71
// enum used to set and get the current range value.
72
72
//
73
- // Property Description
74
- // -------- -----------------------------
75
- // FAILED Attempt to get the range accuracy value failed
76
- // SHORT_RANGE Short range accuracy. (<=1m range, higher accuracy)
77
- // LONG_RANGE Long range accuracy. (<=5m range, default accuracy)
73
+ // Property Description
74
+ // -------- -----------------------------
75
+ // NOT_SUPPORTED Short/Long range accuracy switching is not supported
76
+ // SHORT_RANGE Short range accuracy. (<=1m range, higher accuracy)
77
+ // LONG_RANGE Long range accuracy. (<=5m range, default accuracy)
78
78
79
79
enum TMF882XRange {
80
- FAILED = 0 ,
80
+ NOT_SUPPORTED = 0x00 ,
81
81
SHORT_RANGE = 0x6E ,
82
82
LONG_RANGE = 0x6F
83
83
};
You can’t perform that action at this time.
0 commit comments