[JDY08] Updated line feed assignment

This commit is contained in:
jgromes 2020-07-05 10:01:52 +02:00
parent 12b4fc9e02
commit 2c6d42f648

View file

@ -7,7 +7,8 @@ JDY08::JDY08(Module* mod) : ISerial(mod) {
void JDY08::begin(long speed) {
// set module properties
_mod->AtLineFeed = "";
char lf[3] = "";
memcpy(_mod->AtLineFeed, lf, strlen(lf));
_mod->baudrate = speed;
_mod->init(RADIOLIB_USE_UART);
}