mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 21:03:48 -07:00
no inline
This commit is contained in:
parent
ebc04ea27e
commit
60b444d5d8
1 changed files with 4 additions and 4 deletions
|
@ -215,11 +215,11 @@ void lf_finalize() {
|
||||||
FpgaWriteConfWord(FPGA_MAJOR_MODE_OFF);
|
FpgaWriteConfWord(FPGA_MAJOR_MODE_OFF);
|
||||||
|
|
||||||
LEDsoff();
|
LEDsoff();
|
||||||
|
|
||||||
sample_config *sc = getSamplingConfig();
|
sample_config *sc = getSamplingConfig();
|
||||||
sc->decimation = 1;
|
sc->decimation = 1;
|
||||||
sc->averaging = 0;
|
sc->averaging = 0;
|
||||||
|
|
||||||
StartTicks();
|
StartTicks();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -260,7 +260,7 @@ size_t lf_detect_field_drop(size_t max) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline void lf_modulation(bool modulation) {
|
void lf_modulation(bool modulation) {
|
||||||
if (modulation) {
|
if (modulation) {
|
||||||
HIGH(GPIO_SSC_DOUT);
|
HIGH(GPIO_SSC_DOUT);
|
||||||
} else {
|
} else {
|
||||||
|
@ -269,7 +269,7 @@ inline void lf_modulation(bool modulation) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// simulation
|
// simulation
|
||||||
inline void lf_manchester_send_bit(uint8_t bit) {
|
static void lf_manchester_send_bit(uint8_t bit) {
|
||||||
lf_modulation(bit != 0);
|
lf_modulation(bit != 0);
|
||||||
lf_wait_periods(16);
|
lf_wait_periods(16);
|
||||||
lf_modulation(bit == 0);
|
lf_modulation(bit == 0);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue