1
0
mirror of https://github.com/morrownr/8821cu-20210916.git synced 2024-11-22 13:34:47 +00:00

fix(warnin): In function 'halrf_tssi_trigger':

hal/phydm/halrf/halrf.c:3798: warning: comparison is always true due to limited range of data type
This commit is contained in:
H. Nestler 2024-11-04 21:00:44 +01:00
parent 51deb0f7f4
commit 35d70e71ce

View File

@ -3795,7 +3795,7 @@ void halrf_tssi_trigger(void *dm_void)
return;
}
} else {
if (rf->power_track_type >= 0 && rf->power_track_type <= 3) {
if (/* rf->power_track_type >= 0 && */ rf->power_track_type <= 3) {
RF_DBG(dm, DBG_RF_TX_PWR_TRACK,
"[TSSI]======>%s Normal Mode efues is thermal tracking. return !!!\n", __func__);
return;