mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-04 03:58:08 +08:00
chg: syntax suger
This commit is contained in:
parent
1bf1db845f
commit
ac42d5be85
1 changed files with 3 additions and 6 deletions
|
@ -135,7 +135,7 @@ local skel_1 = [[
|
||||||
add("04,,,Smart MX with 7 byte UID,0D48");
|
add("04,,,Smart MX with 7 byte UID,0D48");
|
||||||
add("04,,,Smart MX with 7 byte UID,0E48");
|
add("04,,,Smart MX with 7 byte UID,0E48");
|
||||||
add("04,,,Smart MX with 7 byte UID,0F48");
|
add("04,,,Smart MX with 7 byte UID,0F48");
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
* {
|
* {
|
||||||
|
@ -215,6 +215,7 @@ local skel_1 = [[
|
||||||
|
|
||||||
return {info: info, highlighter : ndefHighligheter }
|
return {info: info, highlighter : ndefHighligheter }
|
||||||
},
|
},
|
||||||
|
|
||||||
function(data)
|
function(data)
|
||||||
{//This is the catch-all
|
{//This is the catch-all
|
||||||
return {info: {type : "Unknown"}, highlighter : noHighlighter}
|
return {info: {type : "Unknown"}, highlighter : noHighlighter}
|
||||||
|
@ -312,12 +313,10 @@ local skel_1 = [[
|
||||||
|
|
||||||
if(line < 128){
|
if(line < 128){
|
||||||
linesPerSector = 4;
|
linesPerSector = 4;
|
||||||
}else
|
} else {
|
||||||
{
|
|
||||||
//Quadruple size sectors
|
//Quadruple size sectors
|
||||||
linesPerSector = 16;
|
linesPerSector = 16;
|
||||||
line = line - 128;
|
line = line - 128;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if(line % linesPerSector == 0)
|
if(line % linesPerSector == 0)
|
||||||
|
@ -340,8 +339,6 @@ local skel_1 = [[
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
Loading…
Reference in a new issue