g4klx / MMDVM

The firmware for the MMDVM (Multi-Mode Digital Voice Modem)
GNU General Public License v2.0
468 stars 189 forks source link

Error when compiling STMUART.cpp #323

Closed TomMladenov closed 2 years ago

TomMladenov commented 2 years ago

Compilation of STMUART.cpp fails with following error:

STMUART.cpp: In constructor 'CSTMUART::CSTMUART()':
STMUART.cpp:25:9: error: 'NULL' was not declared in this scope
 m_usart(NULL)

Adding following include to STMUART.cpp solves the issue: #include <cstddef>

TomMladenov commented 2 years ago

False alarm, error caused by misconfigured Config.h File. Closing issue.