Minor fixes
This commit is contained in:
parent
17aa0ca226
commit
5b685c9d97
@ -148,7 +148,6 @@ Please refer to `examples/arduino/README.md` for more info about building and ru
|
||||
- `NMBS_CLIENT_DISABLED` to disable all client code
|
||||
- `NMBS_SERVER_DISABLED` to disable all server code
|
||||
- To disable individual server callbacks, define the following:
|
||||
- `NMBS_SERVER_READ_COILS_DISABLED`
|
||||
- `NMBS_SERVER_READ_COILS_DISABLED`
|
||||
- `NMBS_SERVER_READ_DISCRETE_INPUTS_DISABLED`
|
||||
- `NMBS_SERVER_READ_HOLDING_REGISTERS_DISABLED`
|
||||
|
||||
@ -840,6 +840,7 @@ static nmbs_error handle_req_fc(nmbs_t* nmbs) {
|
||||
err = handle_read_coils(nmbs);
|
||||
break;
|
||||
#endif
|
||||
|
||||
#ifndef NMBS_SERVER_READ_DISCRETE_INPUTS_DISABLED
|
||||
case 2:
|
||||
err = handle_read_discrete_inputs(nmbs);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user