From 8a32e769dc70b558d97730c10077550dd35b5651 Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Thu, 23 Jan 2014 11:49:13 +0100 Subject: [PATCH] [9x stock] Issue #542 - 12 bytes here --- radio/src/opentx.cpp | 7 +++++++ radio/src/templates.cpp | 11 +++++++---- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/radio/src/opentx.cpp b/radio/src/opentx.cpp index b4900f8d1..a126db79d 100644 --- a/radio/src/opentx.cpp +++ b/radio/src/opentx.cpp @@ -509,6 +509,12 @@ uint16_t evalChkSum() return sum; } +#if defined(TEMPLATES) +inline void applyDefaultTemplate() +{ + applyTemplate(TMPL_SIMPLE_4CH); +} +#else void applyDefaultTemplate() { for (int i=0; i