[JDY08] Updated line feed assignment
This commit is contained in:
parent
12b4fc9e02
commit
2c6d42f648
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue