File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 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)
871871
872872bool QwDevTMF882X::setRange (TMF882XRange &range)
873873{
874- if (range == FAILED )
874+ if (range == NOT_SUPPORTED )
875875 return false ;
876876
877877 if (!_isInitialized)
Original file line number Diff line number Diff line change 7070//
7171// enum used to set and get the current range value.
7272//
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)
7878
7979enum TMF882XRange {
80- FAILED = 0 ,
80+ NOT_SUPPORTED = 0x00 ,
8181 SHORT_RANGE = 0x6E ,
8282 LONG_RANGE = 0x6F
8383};
You can’t perform that action at this time.
0 commit comments