From f31b2421cc6f52604139968f133ad3b2c7f577d8 Mon Sep 17 00:00:00 2001 From: night-ghost Date: Tue, 6 Mar 2018 15:57:08 +0500 Subject: [PATCH] HAL_F4Light: fixed tool scripts --- libraries/AP_HAL_F4Light/support/UPDATE_OSD.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 libraries/AP_HAL_F4Light/support/UPDATE_OSD.sh diff --git a/libraries/AP_HAL_F4Light/support/UPDATE_OSD.sh b/libraries/AP_HAL_F4Light/support/UPDATE_OSD.sh new file mode 100755 index 0000000000..7eac6019b1 --- /dev/null +++ b/libraries/AP_HAL_F4Light/support/UPDATE_OSD.sh @@ -0,0 +1,14 @@ +#!/bin/sh +set -e +set -x + +pushd minimosd-extra/ +git checkout -f master +git fetch origin +git reset --hard origin/master +popd + +# git diff # this should show a change to git hash of OSD +git add minimosd-extra +git commit -m 'HAL_F4Light: updated OSD submodule' +