As I said, I don't have my JackAl here right now, so I don't have the board or the Teensy to test things, so I'm kinda flying blind. Add these two lines: extern char isUsbVfoA; extern char isUsbVfoB; at line 785 in JackAl.h. Yes, the semicolon is needed...don't know why I left it off. Let me know... Jack
On Friday, June 28, 2019, 6:16:18 PM EDT, Rick Price <rickprice48@...> wrote:
Hi Jack,
Thanks for taking a look at the issue.? Getting the
errors in the attached document when compiling. Also noticed a missing semicolon
on the second isUsbVfoA? = 1?entry.? Should it not be added? The
isUsbVfoA is declared in the Si5351.cpp as a char.???Line
63?? ??char ?isUsbVfoA? = 0,? isUsbVfoA =
1;? Guessing, ?but does it need to be added to the JackAl.h?
?
Rick
KN4AIE From: [email protected] [mailto:[email protected]] On Behalf Of jjpurdum via Groups.Io Sent: Friday, June 28, 2019 2:34 PM To: [email protected] Subject: Re: [JackAl] JackAl LSB/USB Button In the MyButtons.cpp file, try making these changes:
void
MyButtons::ChangeSidebands()
{ ? if (whichSideband == USINGLSB) {???????????? // It's now LSB ??? RedrawLabel(LSB, (char *) "LSB"); ??? isUsbVfoA = 0; ??? whichSideband = USINGLSB; ? } else {??????????????????????????????????? // It's now USB ??? RedrawLabel(LSB, (char *) "USB"); ??? isUsbVfoA = 1 ??? whichSideband = USINGUSB; ? } ? DrawButton(LSB, 1); } Let me know if it works. My JackAl is "on loan" right now.
Jack, W8TEE On Wednesday, June 26, 2019, 2:49:19 PM EDT, jjpurdum via Groups.Io
<jjpurdum@...> wrote:
I'll take a look at it, but it won't be until late Thursday.
Jack, W8TEE
On Wednesday, June 26, 2019, 2:24:45 PM EDT, Rick Price
<rickprice48@...> wrote:
Hi Jack, Now that field day is over with any chance for you to take a look at the LSB/USB Button code.? At present all it does is change the button message without changing the mode.? I have tried several things in the code to force it to 40 meters USB but without success. The fix must be a lot above my pay grade or I'm just not seeing what I need to do to fix it.. Rick Price KN4AIE |