it didnt solve the bug with my RV730 chip, but when I commented out the whole if block it did work so maybe my chip is from before chedar thanks