cwalter-at / freemodbus

BSD licensed MODBUS RTU/ASCII and TCP slave
768 stars 393 forks source link

eMBPoll: properly protect MB_ASCII mode checks #6

Open karlp opened 5 years ago

karlp commented 5 years ago

If ascii mode is disabled, the unprotected checks cause compilation failures.

Signed-off-by: Karl Palsson karlp@etactica.com