debevv / nanoMODBUS

A compact MODBUS RTU/TCP C library for embedded/microcontrollers
MIT License
282 stars 58 forks source link

macOS and DEBUG #21

Closed JanX2 closed 1 year ago

JanX2 commented 1 year ago

I’ve been working on getting nanoMODBUS to work on macOS and it seems to be working fine. I used the Linux files as a template.

There is still one annoyance that’s in the way. And more testing.

nanoMODBUS defines the DEBUG() macro while Apple platforms define this as a flag for debug builds (#if DEBUG…). Any chance this could be renamed to NDEBUG or something similar?

debevv commented 1 year ago

Fixed in 920d25858db0f3c117967a981dfd5f860055ef7f

debevv commented 1 year ago

@JanX2 thank you