RfidResearchGroup / ChameleonUltra

The new generation chameleon based on NRF52840 makes the performance of card emulation more stable. And gave the chameleon the ability to read, write, and decrypt cards.
https://chameleonultra.com
GNU General Public License v3.0
873 stars 147 forks source link

Fix compilation problem error: a label can only be part of a stateme… #94

Closed gentilkiwi closed 1 year ago

gentilkiwi commented 1 year ago

Fix compilation problem error: a label can only be part of a stateme…nt and a declaration is not a statement

Please avoid creating variable in middle of functions, and in this particular case double uint8_t status;.

Can be valid for some compiler, but does not help to read the code.

github-actions[bot] commented 1 year ago

You are welcome to add an entry to the CHANGELOG.md as well

github-actions[bot] commented 1 year ago

Built artifacts for commit 0ebbc56f7c5507ca398c440296f53e03c536fa6d

Firmware

Client

doegox commented 1 year ago

Note for later: the error occurs on ARM GCC v8, and v10, but it's fine under v12