From 274996da1f5e3820ce3c208cc8769a2f877fc192 Mon Sep 17 00:00:00 2001 From: tharexde Date: Fri, 19 Jun 2020 01:24:57 +0200 Subject: [PATCH] corrected comments --- armsrc/em4x50.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/armsrc/em4x50.c b/armsrc/em4x50.c index 25e7caf4f..5071ac085 100644 --- a/armsrc/em4x50.c +++ b/armsrc/em4x50.c @@ -717,7 +717,7 @@ static bool write(uint8_t word[4], uint8_t address) { if (request_receive_mode()) { - // send selective read command + // send write command em4x50_send_byte_with_parity(EM4X50_COMMAND_WRITE); // send address data @@ -753,7 +753,7 @@ static bool write_password(uint8_t password[4], uint8_t new_password[4]) { if (request_receive_mode()) { - // send selective read command + // send write password command em4x50_send_byte_with_parity(EM4X50_COMMAND_WRITE_PASSWORD); // send address data