Define MSG_FS_V_04_OR_NEWER and MSG_FS_V_03_OR_OLDER c=14

This commit is contained in:
3d-gussner 2021-04-26 14:21:33 +02:00
parent 900443286d
commit af519626aa
9 changed files with 17 additions and 17 deletions

View File

@ -9750,7 +9750,7 @@ static uint16_t nFSCheckCount=0;
if( minVolt >= IRsensor_Ldiode_TRESHOLD && minVolt <= IRsensor_Lmax_TRESHOLD if( minVolt >= IRsensor_Ldiode_TRESHOLD && minVolt <= IRsensor_Lmax_TRESHOLD
&& maxVolt >= IRsensor_Hmin_TRESHOLD && maxVolt <= IRsensor_Hopen_TRESHOLD && maxVolt >= IRsensor_Hmin_TRESHOLD && maxVolt <= IRsensor_Hopen_TRESHOLD
){ ){
manage_inactivity_IR_ANALOG_Check(nFSCheckCount, ClFsensorPCB::_Old, ClFsensorPCB::_Rev04, _i("FS v0.4 or newer") ); ////c=18 manage_inactivity_IR_ANALOG_Check(nFSCheckCount, ClFsensorPCB::_Old, ClFsensorPCB::_Rev04, _i("FS v0.4 or newer") ); ////MSG_FS_V_04_OR_NEWER c=18
} }
//! If and only if minVolt is in range <0.0, 0.3> and maxVolt is in range <4.6, 5.0V>, I'm considering a situation with the old fsensor //! If and only if minVolt is in range <0.0, 0.3> and maxVolt is in range <4.6, 5.0V>, I'm considering a situation with the old fsensor
//! Note, we are not relying on one voltage here - getting just +5V can mean an old fsensor or a broken new sensor - that's why //! Note, we are not relying on one voltage here - getting just +5V can mean an old fsensor or a broken new sensor - that's why
@ -9758,7 +9758,7 @@ static uint16_t nFSCheckCount=0;
else if( minVolt < IRsensor_Ldiode_TRESHOLD else if( minVolt < IRsensor_Ldiode_TRESHOLD
&& maxVolt > IRsensor_Hopen_TRESHOLD && maxVolt <= IRsensor_VMax_TRESHOLD && maxVolt > IRsensor_Hopen_TRESHOLD && maxVolt <= IRsensor_VMax_TRESHOLD
){ ){
manage_inactivity_IR_ANALOG_Check(nFSCheckCount, ClFsensorPCB::_Rev04, oFsensorPCB=ClFsensorPCB::_Old, _i("FS v0.3 or older")); ////c=18 manage_inactivity_IR_ANALOG_Check(nFSCheckCount, ClFsensorPCB::_Rev04, oFsensorPCB=ClFsensorPCB::_Old, _i("FS v0.3 or older")); ////MSG_FS_V_03_OR_OLDER c=18
} }
#endif // IR_SENSOR_ANALOG #endif // IR_SENSOR_ANALOG
if (fsensor_check_autoload()) if (fsensor_check_autoload())

View File

@ -1,7 +1,7 @@
#MSG_IR_03_OR_OLDER c=18 #MSG_IR_03_OR_OLDER c=18
" 0.3 or older" " 0.3 or older"
# c=18 #MSG_FS_V_03_OR_OLDER c=18
"FS v0.3 or older" "FS v0.3 or older"
#MSG_IR_04_OR_NEWER c=18 #MSG_IR_04_OR_NEWER c=18

View File

@ -2,7 +2,7 @@
" 0.3 or older" " 0.3 or older"
" 0.3 nebo starsi" " 0.3 nebo starsi"
# c=18 #MSG_FS_V_03_OR_OLDER c=18
"FS v0.3 or older" "FS v0.3 or older"
"FS 0.3 nebo starsi" "FS 0.3 nebo starsi"
@ -10,7 +10,7 @@
" 0.4 or newer" " 0.4 or newer"
" 0.4 nebo novejsi" " 0.4 nebo novejsi"
# c=18 #MSG_FS_V_04_OR_NEWER c=18
"FS v0.4 or newer" "FS v0.4 or newer"
"FS 0.4 a novejsi" "FS 0.4 a novejsi"

View File

@ -2,7 +2,7 @@
" 0.3 or older" " 0.3 or older"
" 0.3 oder aelter" " 0.3 oder aelter"
# c=18 #MSG_FS_V_03_OR_OLDER c=18
"FS v0.3 or older" "FS v0.3 or older"
"FS 0.3 oder aelter" "FS 0.3 oder aelter"
@ -10,7 +10,7 @@
" 0.4 or newer" " 0.4 or newer"
" 0.4 oder neuer" " 0.4 oder neuer"
# c=18 #MSG_FS_V_04_OR_NEWER c=18
"FS v0.4 or newer" "FS v0.4 or newer"
"FS 0.4 oder neuer" "FS 0.4 oder neuer"

View File

@ -2,7 +2,7 @@
" 0.3 or older" " 0.3 or older"
" 0.3 o mayor" " 0.3 o mayor"
# c=18 #MSG_FS_V_03_OR_OLDER c=18
"FS v0.3 or older" "FS v0.3 or older"
"FS 0.3 o mayor" "FS 0.3 o mayor"
@ -10,7 +10,7 @@
" 0.4 or newer" " 0.4 or newer"
" 0.4 o mas nueva" " 0.4 o mas nueva"
# c=18 #MSG_FS_V_04_OR_NEWER c=18
"FS v0.4 or newer" "FS v0.4 or newer"
"FS 0.4 o mas nueva" "FS 0.4 o mas nueva"

View File

@ -2,7 +2,7 @@
" 0.3 or older" " 0.3 or older"
" 0.3 ou +ancien" " 0.3 ou +ancien"
# c=18 #MSG_FS_V_03_OR_OLDER c=18
"FS v0.3 or older" "FS v0.3 or older"
"FS v0.3 ou +ancien" "FS v0.3 ou +ancien"
@ -10,7 +10,7 @@
" 0.4 or newer" " 0.4 or newer"
" 0.4 ou +recent" " 0.4 ou +recent"
# c=18 #MSG_FS_V_04_OR_NEWER c=18
"FS v0.4 or newer" "FS v0.4 or newer"
"FS v0.4 ou +recent" "FS v0.4 ou +recent"

View File

@ -2,7 +2,7 @@
" 0.3 or older" " 0.3 or older"
" 0.3 o inferiore" " 0.3 o inferiore"
# c=18 #MSG_FS_V_03_OR_OLDER c=18
"FS v0.3 or older" "FS v0.3 or older"
"FS 0.3 o inferiore" "FS 0.3 o inferiore"
@ -10,7 +10,7 @@
" 0.4 or newer" " 0.4 or newer"
" 0.4 o superiore" " 0.4 o superiore"
# c=18 #MSG_FS_V_04_OR_NEWER c=18
"FS v0.4 or newer" "FS v0.4 or newer"
"FS 0.4 o superiore" "FS 0.4 o superiore"

View File

@ -2,7 +2,7 @@
" 0.3 or older" " 0.3 or older"
" 0.3 of ouder" " 0.3 of ouder"
# c=18 #MSG_FS_V_03_OR_OLDER c=18
"FS v0.3 or older" "FS v0.3 or older"
"FS 0.3 of ouder" "FS 0.3 of ouder"
@ -10,7 +10,7 @@
" 0.4 or newer" " 0.4 or newer"
" 0.4 of nieuwer" " 0.4 of nieuwer"
# c=18 #MSG_FS_V_04_OR_NEWER c=18
"FS v0.4 or newer" "FS v0.4 or newer"
"FS 0.4 of nieuwer" "FS 0.4 of nieuwer"

View File

@ -2,7 +2,7 @@
" 0.3 or older" " 0.3 or older"
" 0.3 lub starszy" " 0.3 lub starszy"
# c=18 #MSG_FS_V_03_OR_OLDER c=18
"FS v0.3 or older" "FS v0.3 or older"
"FS 0.3 lub starszy" "FS 0.3 lub starszy"
@ -10,7 +10,7 @@
" 0.4 or newer" " 0.4 or newer"
" 0.4 lub nowszy" " 0.4 lub nowszy"
# c=18 #MSG_FS_V_04_OR_NEWER c=18
"FS v0.4 or newer" "FS v0.4 or newer"
"FS 0.4 lub nowszy" "FS 0.4 lub nowszy"