¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: Menu Structure Map for V1.2.14? #firmware #menu


 

On Fri, Oct 28, 2022 at 01:18 PM, Ho-Ro wrote:

Nevertheless the code with a safety check for you (and maybe other mac user)
is now in my GitHub:

Hello Martin,
Thank you very much for your quick help.

With the source code from github it works now without flaw :-)

It is amazing what you can do with Python, if you know how to use it :-)

I like Python very much, but I have to learn a lot when I look at your source code.

What caused me head scratching is in line 62:
if f'const menuitem_t {this_menu}[]' in line:

When I add in the next line:
print(line, " - ", this_menu) # RR: debug
I get e.g.: const menuitem_t menu_dfu[] = { - menu_dfu

Do you please have a link to an explanation for that construct?

73, Rudi DL5FA

Join [email protected] to automatically receive all group messages.