mirror of
https://github.com/RfidResearchGroup/ChameleonMini.git
synced 2026-05-12 11:20:37 -07:00
Since GCC 10, the compiler defaults to -fno-common, thus variables with multiple tentative definitions result in linker errors. We've (me and @MrMoDDoM) extern-ed the shared variables to fix the issue. Also, when I implemented ISR sharing, somehow I forgot about a function which was shared as well, so I fixed that mistake and added a couple of comments on how shared function calls work.
21 lines
424 B
C
21 lines
424 B
C
//
|
|
// Created by Zitai Chen on 05/07/2018.
|
|
//
|
|
|
|
#ifndef CHAMELEON_MINI_SNIFFISO14443_2A_H
|
|
#define CHAMELEON_MINI_SNIFFISO14443_2A_H
|
|
|
|
|
|
#include "Codec.h"
|
|
#include "Terminal/CommandLine.h"
|
|
|
|
extern enum RCTraffic {TRAFFIC_READER, TRAFFIC_CARD} TrafficSource;
|
|
/* Codec Interface */
|
|
void Sniff14443ACodecInit(void);
|
|
void Sniff14443ACodecDeInit(void);
|
|
void Sniff14443ACodecTask(void);
|
|
|
|
|
|
|
|
#endif //CHAMELEON_MINI_SNIFFISO14443_2A_H
|