mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -07:00
Fix typos
Thanks to Debian lintian for the reports: I: proxmark3: spelling-error-in-binary usr/bin/proxmark3 formated formatted I: proxmark3: spelling-error-in-binary usr/bin/proxmark3 succesfully successfully I: proxmark3: spelling-error-in-binary usr/bin/proxmark3 Skiped Skipped I: proxmark3: spelling-error-in-binary usr/bin/proxmark3 standart standard I: proxmark3: spelling-error-in-binary usr/bin/proxmark3 supress suppress I: proxmark3: spelling-error-in-binary usr/bin/proxmark3 successfull successful I: proxmark3: spelling-error-in-binary usr/bin/proxmark3 Succeded Succeeded I: proxmark3: spelling-error-in-binary usr/bin/proxmark3 Overriden Overridden I: proxmark3: spelling-error-in-binary usr/bin/proxmark3 aquire acquire I: proxmark3: spelling-error-in-binary usr/bin/proxmark3 occured occurred I: proxmark3: spelling-error-in-binary usr/bin/proxmark3 delimeter delimiter
This commit is contained in:
parent
c3bdf3e70f
commit
a1852eaa4b
30 changed files with 73 additions and 73 deletions
|
@ -19,7 +19,7 @@
|
|||
usb_dev_handle *devh = NULL;
|
||||
static unsigned int claimed_iface = 0;
|
||||
unsigned char return_on_error = 0;
|
||||
unsigned char error_occured = 0;
|
||||
unsigned char error_occurred = 0;
|
||||
|
||||
void SendCommandBL(uint64_t cmd, uint64_t arg0, uint64_t arg1, uint64_t arg2, void *data, size_t len) {
|
||||
int ret;
|
||||
|
@ -37,7 +37,7 @@ void SendCommandBL(uint64_t cmd, uint64_t arg0, uint64_t arg1, uint64_t arg2, vo
|
|||
|
||||
ret = usb_bulk_write(devh, 0x01, (char *)&c, sizeof(PacketCommandOLD), 1000);
|
||||
if (ret < 0) {
|
||||
error_occured = 1;
|
||||
error_occurred = 1;
|
||||
if (return_on_error)
|
||||
return;
|
||||
|
||||
|
@ -63,7 +63,7 @@ bool ReceiveCommandPoll(PacketResponseOLD *c) {
|
|||
ret = usb_bulk_read(devh, 0x82, (char *)c, sizeof(PacketResponseOLD), 500);
|
||||
if (ret < 0) {
|
||||
if (ret != -ETIMEDOUT) {
|
||||
error_occured = 1;
|
||||
error_occurred = 1;
|
||||
if (return_on_error)
|
||||
return false;
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
#include "usb_cmd.h"
|
||||
|
||||
extern unsigned char return_on_error;
|
||||
extern unsigned char error_occured;
|
||||
extern unsigned char error_occurred;
|
||||
|
||||
void SendCommandBL(uint64_t cmd, uint64_t arg0, uint64_t arg1, uint64_t arg2, void *data, size_t len);
|
||||
bool ReceiveCommandPoll(PacketResponseOLD *c);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue