From 926b8d36009b3a9e0d072f542d6573317d4c16e2 Mon Sep 17 00:00:00 2001 From: Rob French Date: Sun, 14 Jun 2020 22:51:59 -0500 Subject: [PATCH] It was compiled, and seemed like it might work. But then I managed to kill my Teensy 3.2. I unplugged the Teensy-to-Raduino comm lines in order to program the Raduino. When I plugged them back in, I didn't realize that I was off by one pin. So I believe something that should've only gotten 3.3V, got more. No light on the Teensy. This development effort, while it has been fruitful, is definitely complicated. I don't think I have the bandwidth to continue it. I plan on merging all the branches back to master, collecting the pieces-parts of uBITX V5D, and calling it "done". I will rebuild my uBITX V5 back into a relatively stock configuration, and use an external digital interface (see KK5JY). --- iopcomm/iopcomm.cpp | 2 +- ubitx_iop/ubitx_iop.ino | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/iopcomm/iopcomm.cpp b/iopcomm/iopcomm.cpp index 4c8830c..e48c6dd 100644 --- a/iopcomm/iopcomm.cpp +++ b/iopcomm/iopcomm.cpp @@ -53,7 +53,7 @@ void sendIOPModeCommand(rig_mode mode) IOPMessage m; m.id = IOP_MODE_COMMAND; m.len = 1; - m.data[0] = uint8_t(mode); + m.data[0] = static_cast(mode); sendIOPMessage(m); } diff --git a/ubitx_iop/ubitx_iop.ino b/ubitx_iop/ubitx_iop.ino index f4e29f3..df9fe85 100644 --- a/ubitx_iop/ubitx_iop.ino +++ b/ubitx_iop/ubitx_iop.ino @@ -188,14 +188,14 @@ void loop() } else if (knobPos > 3 && menu_is_active) { // left - menu_item->prev(); + menu_item = menu_item->prev(); knob.write(0); menu_updated = true; USBDEBUG("knob turned left"); } else if (knobPos < -3 && menu_is_active) { // right - menu_item->next(); + menu_item = menu_item->next(); knob.write(0); menu_updated = true; USBDEBUG("knob turned right");