debevv / nanoMODBUS

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

Rename DEBUG to NDEBUG. #22

Closed JanX2 closed 1 year ago

JanX2 commented 1 year ago

This is what my change suggested in #21 could look like.

debevv commented 1 year ago

Hi, I think NDEBUG is another very common define in various environments. I was thinking more about something like NMBS_DEBUG_PRINT

JanX2 commented 1 year ago

Sure! I just thought that you wanted to keep it short. Whatever you decide that’s not DEBUG seems fine with me. Thank you!

debevv commented 1 year ago

Fixed in 920d25858db0f3c117967a981dfd5f860055ef7f