From cd72262c6141b596a7d008b55d0007ca5de9eef3 Mon Sep 17 00:00:00 2001 From: Justin Mammarella Date: Mon, 10 Sep 2018 10:26:07 +1000 Subject: [PATCH] HotFix for 2.16 --- Changelog | 6 ++++++ avr/cores/megacommand/MCL/MCLActions.cpp | 3 +++ 2 files changed, 9 insertions(+) diff --git a/Changelog b/Changelog index 2bfec254b..66c7f351c 100644 --- a/Changelog +++ b/Changelog @@ -1,3 +1,9 @@ +MCL 2.16a 10/08/2018 + +Hotfix: + +Write original would be broken in some scenarios. + MCL 2.16 08/08/2018 Changes: diff --git a/avr/cores/megacommand/MCL/MCLActions.cpp b/avr/cores/megacommand/MCL/MCLActions.cpp index 24fb61c8b..fbd69b6ea 100644 --- a/avr/cores/megacommand/MCL/MCLActions.cpp +++ b/avr/cores/megacommand/MCL/MCLActions.cpp @@ -285,6 +285,9 @@ void MCLActions::send_pattern_kit_to_md() { // Used as a way of flaggin which A4 tracks are to be sent uint8_t a4_send[6] = {0, 0, 0, 0, 0, 0}; A4Sound sound_array[4]; + + if (write_original == 1) { pattern_rec.patternLength = temptrack.length; } + while ((i < 20)) { if ((note_interface.notes[i] > 1)) {