Skip to content

WaitReady () -> TIMEOUT (when PN532 reader is selected) #190

@Pako2

Description

@Pako2

The PN532.cpp library contains the following snippet:

bool PN532::WaitReady() 
{
    uint16_t timer = 0;
    while (!IsReady()) 
    {
        if (timer >= PN532_TIMEOUT) 
        {
            Utils::Print("WaitReady() -> TIMEOUT\r\n");
            return false;
        }
        Utils::DelayMilli(10);
        timer += 10;        
    }
    return true;
}

As a result, the WaitReady () -> TIMEOUT message is very often listed in the serial monitor.
This is very annoying, and I propose the corresponding part (one single line) in the library to comment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions