MAV hardware

Changed the hardware variables and how to clear hardware.