Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix hf_aveful.c: too few arguments to function 'SimulateIso14443aTag' #2562

Merged
merged 5 commits into from
Oct 7, 2024

Conversation

archi
Copy link
Contributor

@archi archi commented Oct 7, 2024

Just a quick fix to the build (+ CHANGELOG). I adapted the change from hf_young.c (just added a NULL pointer), but didn't dive into the code to figure out if this is the best approach or not.

btw, thanks for the tool + code!

Original error:

[-] CC ../armsrc/Standalone/hf_aveful.c
../armsrc/Standalone/hf_aveful.c: In function 'RunMod':
../armsrc/Standalone/hf_aveful.c:254:17: error: too few arguments to function 'SimulateIso14443aTag'
  254 |                 SimulateIso14443aTag(7, flags, card.uid, 0);
      |                 ^~~~~~~~~~~~~~~~~~~~
In file included from ../armsrc/Standalone/hf_aveful.c:44:
./iso14443a.h:143:6: note: declared here
  143 | void SimulateIso14443aTag(uint8_t tagType, uint16_t flags, uint8_t *data, uint8_t exitAfterNReads, uint8_t *iRATs);
      |      ^~~~~~~~~~~~~~~~~~~~
make[1]: *** [../common_arm/Makefile.common:119: obj/hf_aveful.o] Error 1
make: *** [Makefile:168: armsrc/install] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
makepkg  484.97s user 21.77s system 95% cpu 8:52.73 total

Signed-off-by: Sebastian Meyer <archi@users.noreply.github.com>
Fixed incorrect argument count for SimulateIso14443aTag in aveful.c

Signed-off-by: Sebastian Meyer <archi@users.noreply.github.com>
Signed-off-by: Sebastian Meyer <archi@users.noreply.github.com>
Signed-off-by: Sebastian Meyer <archi@users.noreply.github.com>
@iceman1001 iceman1001 merged commit 049576a into RfidResearchGroup:master Oct 7, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants