mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 05:13:46 -07:00
typos
This commit is contained in:
parent
9beabaabf5
commit
544fb30ce6
6 changed files with 8 additions and 8 deletions
|
@ -93,7 +93,7 @@ static uint32_t LastProxToAirDuration;
|
||||||
// Sequence D: 11110000 modulation with subcarrier during first half
|
// Sequence D: 11110000 modulation with subcarrier during first half
|
||||||
// Sequence E: 00001111 modulation with subcarrier during second half
|
// Sequence E: 00001111 modulation with subcarrier during second half
|
||||||
// Sequence F: 00000000 no modulation with subcarrier
|
// Sequence F: 00000000 no modulation with subcarrier
|
||||||
// Sequence COLL: 11111111 load modulation over the full bitlenght.
|
// Sequence COLL: 11111111 load modulation over the full bitlength.
|
||||||
// Tricks the reader to think that multiple cards answer (at least one card with 1 and at least one card with 0).
|
// Tricks the reader to think that multiple cards answer (at least one card with 1 and at least one card with 0).
|
||||||
// READER TO CARD - miller
|
// READER TO CARD - miller
|
||||||
// Sequence X: 00001100 drop after half a period
|
// Sequence X: 00001100 drop after half a period
|
||||||
|
|
|
@ -695,7 +695,7 @@ static void BuildInventoryResponse(uint8_t *cmdout, uint8_t *uid) {
|
||||||
// speed ... 0 low speed, 1 hi speed
|
// speed ... 0 low speed, 1 hi speed
|
||||||
// **recv will return you a pointer to the received data
|
// **recv will return you a pointer to the received data
|
||||||
// If you do not need the answer use NULL for *recv[]
|
// If you do not need the answer use NULL for *recv[]
|
||||||
// return: lenght of received data
|
// return: length of received data
|
||||||
// logging enabled
|
// logging enabled
|
||||||
int SendDataTag(uint8_t *send, int sendlen, bool init, int speed, uint8_t *outdata) {
|
int SendDataTag(uint8_t *send, int sendlen, bool init, int speed, uint8_t *outdata) {
|
||||||
|
|
||||||
|
|
|
@ -208,7 +208,7 @@ rdv40_spiffs_fsinfo info_of_spiffs() {
|
||||||
fsinfo.blockSize = SPIFFS_CFG_LOG_BLOCK_SZ;
|
fsinfo.blockSize = SPIFFS_CFG_LOG_BLOCK_SZ;
|
||||||
fsinfo.pageSize = LOG_PAGE_SIZE;
|
fsinfo.pageSize = LOG_PAGE_SIZE;
|
||||||
fsinfo.maxOpenFiles = RDV40_SPIFFS_MAX_FD;
|
fsinfo.maxOpenFiles = RDV40_SPIFFS_MAX_FD;
|
||||||
fsinfo.maxPathLenght = SPIFFS_OBJ_NAME_LEN;
|
fsinfo.maxPathLength = SPIFFS_OBJ_NAME_LEN;
|
||||||
if (SPIFFS_info(&fs, &fsinfo.totalBytes, &fsinfo.usedBytes) < 0)
|
if (SPIFFS_info(&fs, &fsinfo.totalBytes, &fsinfo.usedBytes) < 0)
|
||||||
Dbprintf("errno %i\n", SPIFFS_errno(&fs));
|
Dbprintf("errno %i\n", SPIFFS_errno(&fs));
|
||||||
fsinfo.freeBytes = fsinfo.totalBytes - fsinfo.usedBytes;
|
fsinfo.freeBytes = fsinfo.totalBytes - fsinfo.usedBytes;
|
||||||
|
@ -532,7 +532,7 @@ void rdv40_spiffs_safe_print_fsinfos() {
|
||||||
Dbprintf("* Filesystem Logical Page Size..........%d bytes", fsinfo.pageSize);
|
Dbprintf("* Filesystem Logical Page Size..........%d bytes", fsinfo.pageSize);
|
||||||
Dbprintf("--");
|
Dbprintf("--");
|
||||||
Dbprintf("* Filesystem Max Open Files.............%d file descriptors", fsinfo.maxOpenFiles);
|
Dbprintf("* Filesystem Max Open Files.............%d file descriptors", fsinfo.maxOpenFiles);
|
||||||
Dbprintf("* Filesystem Max Path Lenght............%d chars", fsinfo.maxPathLenght);
|
Dbprintf("* Filesystem Max Path Length............%d chars", fsinfo.maxPathLength);
|
||||||
Dbprintf("--");
|
Dbprintf("--");
|
||||||
Dbprintf("Filesystem\tSize\tUsed\tAvailable\tUse%\tMounted on");
|
Dbprintf("Filesystem\tSize\tUsed\tAvailable\tUse%\tMounted on");
|
||||||
Dbprintf("spiffs\t%dB\t%dB\t%dB\t\t%d%\t/", fsinfo.totalBytes, fsinfo.usedBytes, fsinfo.freeBytes,
|
Dbprintf("spiffs\t%dB\t%dB\t%dB\t\t%d%\t/", fsinfo.totalBytes, fsinfo.usedBytes, fsinfo.freeBytes,
|
||||||
|
@ -580,7 +580,7 @@ void rdv40_spiffs_safe_print_tree(uint8_t banner) {
|
||||||
|
|
||||||
void test_spiffs() {
|
void test_spiffs() {
|
||||||
Dbprintf("---------------------------");
|
Dbprintf("---------------------------");
|
||||||
Dbprintf("Testing SPIFFS functionning");
|
Dbprintf("Testing SPIFFS operations");
|
||||||
Dbprintf("---------------------------");
|
Dbprintf("---------------------------");
|
||||||
Dbprintf("(all test are made using lazy safetylevel)");
|
Dbprintf("(all test are made using lazy safetylevel)");
|
||||||
Dbprintf("* Mounting filesystem (lazy).......");
|
Dbprintf("* Mounting filesystem (lazy).......");
|
||||||
|
|
|
@ -26,7 +26,7 @@ typedef struct rdv40_spiffs_fsinfo {
|
||||||
uint32_t blockSize;
|
uint32_t blockSize;
|
||||||
uint32_t pageSize;
|
uint32_t pageSize;
|
||||||
uint32_t maxOpenFiles;
|
uint32_t maxOpenFiles;
|
||||||
uint32_t maxPathLenght;
|
uint32_t maxPathLength;
|
||||||
uint32_t totalBytes, usedBytes, freeBytes;
|
uint32_t totalBytes, usedBytes, freeBytes;
|
||||||
uint32_t usedPercent, freePercent;
|
uint32_t usedPercent, freePercent;
|
||||||
} rdv40_spiffs_fsinfo;
|
} rdv40_spiffs_fsinfo;
|
||||||
|
|
|
@ -442,7 +442,7 @@ static command_t CommandTable[] = {
|
||||||
{"mount", CmdFlashMemSpiFFSMount, IfPm3Flash, "Mount the SPIFFS Filesystem if not already mounted (spiffs)"},
|
{"mount", CmdFlashMemSpiFFSMount, IfPm3Flash, "Mount the SPIFFS Filesystem if not already mounted (spiffs)"},
|
||||||
{"remove", CmdFlashMemSpiFFSRemove, IfPm3Flash, "Remove a file from SPIFFS FileSystem in FlashMEM (spiffs)"},
|
{"remove", CmdFlashMemSpiFFSRemove, IfPm3Flash, "Remove a file from SPIFFS FileSystem in FlashMEM (spiffs)"},
|
||||||
{"rename", CmdFlashMemSpiFFSRename, IfPm3Flash, "Rename/move a file in SPIFFS FileSystem in FlashMEM (spiffs)"},
|
{"rename", CmdFlashMemSpiFFSRename, IfPm3Flash, "Rename/move a file in SPIFFS FileSystem in FlashMEM (spiffs)"},
|
||||||
{"test", CmdFlashMemSpiFFSTest, IfPm3Flash, "Test SPIFFS Functionning (require wiping pages 0 and 1)"},
|
{"test", CmdFlashMemSpiFFSTest, IfPm3Flash, "Test SPIFFS Operations (require wiping pages 0 and 1)"},
|
||||||
{"tree", CmdFlashMemSpiFFSTree, IfPm3Flash, "Print the Flash Memory FileSystem Tree (spiffs)"},
|
{"tree", CmdFlashMemSpiFFSTree, IfPm3Flash, "Print the Flash Memory FileSystem Tree (spiffs)"},
|
||||||
{"unmount", CmdFlashMemSpiFFSUnmount, IfPm3Flash, "Un-mount the SPIFFS Filesystem if not already mounted (spiffs)"},
|
{"unmount", CmdFlashMemSpiFFSUnmount, IfPm3Flash, "Un-mount the SPIFFS Filesystem if not already mounted (spiffs)"},
|
||||||
{NULL, NULL, NULL, NULL}
|
{NULL, NULL, NULL, NULL}
|
||||||
|
|
|
@ -2654,7 +2654,7 @@ function modifyMode()
|
||||||
local stamp=getSegmentStamp(inTAG.SEG[x])
|
local stamp=getSegmentStamp(inTAG.SEG[x])
|
||||||
print("Stamp : "..stamp)
|
print("Stamp : "..stamp)
|
||||||
stamp=str2bytes(stamp)
|
stamp=str2bytes(stamp)
|
||||||
print("lenght: "..#stamp)
|
print("length: "..#stamp)
|
||||||
end,
|
end,
|
||||||
---
|
---
|
||||||
-- calculate crc16
|
-- calculate crc16
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue