Changes to mavlogdump sample and hold scirpt.