This commit is contained in:
Philippe Teuwen 2020-04-24 18:44:42 +02:00
commit 0219aed591
2 changed files with 2 additions and 2 deletions

View file

@ -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();

View file

@ -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 (;;) {