arraylen
This commit is contained in:
@@ -85,7 +85,7 @@ void RunMod() {
|
|||||||
Dbprintf("[=] >> LF EM4100 simulator started <<");
|
Dbprintf("[=] >> LF EM4100 simulator started <<");
|
||||||
|
|
||||||
int selected = 0; //selected slot after start
|
int selected = 0; //selected slot after start
|
||||||
slots_count = sizeof(low) / sizeof(low[0]);
|
slots_count = ARRAYLEN(low);
|
||||||
bba = BigBuf_get_addr();
|
bba = BigBuf_get_addr();
|
||||||
for (;;) {
|
for (;;) {
|
||||||
WDT_HIT();
|
WDT_HIT();
|
||||||
|
|||||||
@@ -129,7 +129,7 @@ void RunMod() {
|
|||||||
// 2 - simulate tag from selected slot
|
// 2 - simulate tag from selected slot
|
||||||
// 3 - write to T5555 tag
|
// 3 - write to T5555 tag
|
||||||
uint8_t state = 0;
|
uint8_t state = 0;
|
||||||
slots_count = sizeof(low) / sizeof(low[0]);
|
slots_count = ARRAYLEN(low);
|
||||||
bba = BigBuf_get_addr();
|
bba = BigBuf_get_addr();
|
||||||
LED_Slot(selected);
|
LED_Slot(selected);
|
||||||
for (;;) {
|
for (;;) {
|
||||||
|
|||||||
Reference in New Issue
Block a user