some additional fixes

Fork of PN532 by Seeed