Ultrasonic code trouble

I’m using firmware RAK3172-E_latest_final.hex

From here. Rak 3272S-Board RUI3 Arduino programming board - #4 by carlrowan