Commit adbc98bcb1ee26d48bfa8a9ce4fc1f43450e54d8
1 parent
73ce26e0
FIX mapping allocation
Showing
1 changed file
with
1 additions
and
1 deletions
tests/unit-test-slave.c
| ... | ... | @@ -40,7 +40,7 @@ int main(void) |
| 40 | 40 | UT_COIL_STATUS_ADDRESS + UT_COIL_STATUS_NB_POINTS, |
| 41 | 41 | UT_INPUT_STATUS_ADDRESS + UT_INPUT_STATUS_NB_POINTS, |
| 42 | 42 | UT_HOLDING_REGISTERS_ADDRESS + UT_HOLDING_REGISTERS_NB_POINTS, |
| 43 | - UT_INPUT_STATUS_ADDRESS + UT_INPUT_REGISTERS_NB_POINTS); | |
| 43 | + UT_INPUT_REGISTERS_ADDRESS + UT_INPUT_REGISTERS_NB_POINTS); | |
| 44 | 44 | if (ret == FALSE) { |
| 45 | 45 | printf("Memory allocation failed\n"); |
| 46 | 46 | exit(1); | ... | ... |