MAV clear hardware

Clearing correctly the hardware