From 16bd43f1528b45df6a4702421889965d360c47e0 Mon Sep 17 00:00:00 2001 From: Raphael Coeffic Date: Fri, 9 Apr 2021 17:20:12 +0200 Subject: [PATCH] Missing model_init.h --- radio/src/model_init.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 radio/src/model_init.h diff --git a/radio/src/model_init.h b/radio/src/model_init.h new file mode 100644 index 000000000..ab5e840cc --- /dev/null +++ b/radio/src/model_init.h @@ -0,0 +1,27 @@ +/* + * Copyright (C) OpenTX + * + * Based on code named + * th9x - http://code.google.com/p/th9x + * er9x - http://code.google.com/p/er9x + * gruvin9x - http://code.google.com/p/gruvin9x + * + * License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + +#pragma once + +void clearInputs(); +void setDefaultInputs(); + +// Reset the global model to full defaults +void setModelDefaults(uint8_t id);