Commit 5def87b3131b73ba9069dfad58ac1221da1f23ea

Authored by Stéphane Raimbault
1 parent 14f42c18

Fix typo EROOR -> ERROR

Showing 1 changed file with 1 additions and 1 deletions
src/modbus.c
@@ -1109,7 +1109,7 @@ static int read_registers(modbus_param_t *mb_param, int function, @@ -1109,7 +1109,7 @@ static int read_registers(modbus_param_t *mb_param, int function,
1109 uint8_t response[MAX_MESSAGE_LENGTH]; 1109 uint8_t response[MAX_MESSAGE_LENGTH];
1110 1110
1111 if (nb > MAX_REGISTERS) { 1111 if (nb > MAX_REGISTERS) {
1112 - printf("EROOR Too many holding registers requested (%d > %d)\n", 1112 + printf("ERROR Too many holding registers requested (%d > %d)\n",
1113 nb, MAX_REGISTERS); 1113 nb, MAX_REGISTERS);
1114 return INVALID_DATA; 1114 return INVALID_DATA;
1115 } 1115 }