g4klx/MMDVM

Error when compiling STMUART.cpp

TomMladenov opened this issue · 1 comments

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>

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