Quadcopter stabilization algorithm

How about this code to fuse Ameter and pressure? I could sample at 20hz instead of 2hz. wasft-ft would often be 0.

set_throttle((wasft-ft)*gain1 +(gravity-accel)*gain2 +wasthrottle);

I know it's too simple, but would it work?