kopia lustrzana https://github.com/jgromes/RadioLib
[JDY08] Updated line feed assignment
rodzic
12b4fc9e02
commit
2c6d42f648
|
@ -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);
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue