Huan, I think I see the issue with the switch statement. Technically, you
are not supposed to declare a new variable inside a case without using
braces to create a new stack frame.

Try going back to your original code and just adding {} around each of the
code sections inside of the case labels and see if that fixes the issue.

More info here:

https://forum.arduino.cc/index.php?topic=627154.0


On Wed, Jun 24, 2020 at 12:44 PM Huan Truong via TriEmbed <
[email protected]> wrote:

> This has taken me way more time than I thought, but finishing this
> retrofit is a big achievement for me. It's really silly and serves
> exactly no purpose other than RE'ing something no one cares about.  So
> I just want to share for some shits and giggles.
>
>
> http://www.tnhh.net/posts/adventures-hacking-fake-vivitar-vintage-radio.html
>
>
>
>
>
> --
>
> Huan Truong
> www tnhh.net / twitter @huant
>
> _______________________________________________
> Triangle, NC Embedded Computing mailing list
>
> To post message: [email protected]
> List info: http://mail.triembed.org/mailman/listinfo/triembed_triembed.org
> TriEmbed web site: http://TriEmbed.org
> To unsubscribe, click link and send a blank message: mailto:
> [email protected]?subject=unsubscribe
>
>
_______________________________________________
Triangle, NC Embedded Computing mailing list

To post message: [email protected]
List info: http://mail.triembed.org/mailman/listinfo/triembed_triembed.org
TriEmbed web site: http://TriEmbed.org
To unsubscribe, click link and send a blank message: 
mailto:[email protected]?subject=unsubscribe

Reply via email to