lufa icon indicating copy to clipboard operation
lufa copied to clipboard

Unknown reference to "UpdateCurrentCompatibilityMode"

Open marecl opened this issue 2 years ago • 2 comments

Hi I'm currently messing around with AVRISPmkII code and I found that function UpdateCurrentCompatibilityMode() is not defined anywhere.
I've searched through all LUFA and AVR sources but cannot find anything on this function. It doesn't exist in LUFA docs and sources, AVR toolchain or project files. Where is this function declared? How come VSCode can't compile it but AVR Studio can?

Thanks in advance

marecl avatar Sep 11 '22 11:09 marecl

Should be fixed in eb9b67b23ef02e7b30fec26eed7c56b5630b9682 - there was some ancient vestigial code in there that should have been deleted, for a compile time option that was removed years ago. Not sure why your IDE would be setting that old pre-processor definition that would call it however.

abcminiuser avatar Sep 11 '22 11:09 abcminiuser

Thanks for your help! :) I enabed it manually. Together with some other options but this one has been giving me headaches
While searching I also found it in XPLAINED Bridge.

marecl avatar Sep 12 '22 10:09 marecl