Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/flipperzero-firmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorあく <alleteam@gmail.com>2021-03-31 20:52:26 +0300
committerGitHub <noreply@github.com>2021-03-31 20:52:26 +0300
commit5439e232cc747f8b316a205028d4338024703c42 (patch)
treeba9bfc8a1d2dd7e8cede3bc40cc6c118d4d64dbd /applications/nfc
parent5309bfae4101e5675bcf961adcd11f8cfb0f5efb (diff)
[FL-950] CC1101 Stage1, SPI Refactoring, Drivers layer (#386)
* API HAL SPI: refactoring, split into layers, prepare ST HAL separation. API HAL SubGhz: initialize on start. Drivers: add basic cc1101 driver. Update API usage. Debug: increase max debugger port speed. Remove subghz apps. * CC1101: chip status handling. ApiHalSpi: increase SubGhz bus speed to 8mhz. F4: backport subghz initialization. * Api Hal SubGhz: rx path and frequency. CC1101: frequency control. * SubGhz Application: basic tests * SubGhz app: tone and packet test. API HAL SUBGHZ: update configs, add missing bits and pieces.
Diffstat (limited to 'applications/nfc')
-rw-r--r--applications/nfc/nfc_worker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/nfc/nfc_worker.c b/applications/nfc/nfc_worker.c
index 657cf009..11296bf2 100644
--- a/applications/nfc/nfc_worker.c
+++ b/applications/nfc/nfc_worker.c
@@ -244,7 +244,7 @@ ReturnCode nfc_worker_trx(
}
void nfc_worker_exchange(NfcWorker* nfc_worker, rfalNfcDevice* nfc_device) {
- ReturnCode err;
+ ReturnCode err = ERR_NONE;
uint8_t* rxData;
uint16_t* rcvLen;
uint8_t txBuf[100];