Sketch to calibrate Bar 30 to 0

Hi all,
I have a Bar 30 which has drifted out to +0.8m. It’s not installed on an ROV/Pixhawk; if the sensor is connected to an arduino or similar, is there a script that can be run to calibrate back to 0?
Thanks