[LR11x0] Fix struct initialization
This commit is contained in:
parent
98c80a9cb9
commit
534a2f2d62
1 changed files with 1 additions and 1 deletions
|
@ -1709,7 +1709,7 @@ bool LR11x0::findChip(uint8_t ver) {
|
|||
reset();
|
||||
|
||||
// read the version
|
||||
LR11x0VersionInfo_t info = { 0 };
|
||||
LR11x0VersionInfo_t info;
|
||||
int16_t state = getVersionInfo(&info);
|
||||
if((state == RADIOLIB_ERR_NONE) && (info.device == ver)) {
|
||||
RADIOLIB_DEBUG_BASIC_PRINTLN("Found LR11x0: RADIOLIB_LR11X0_CMD_GET_VERSION = 0x%02x", info.device);
|
||||
|
|
Loading…
Add table
Reference in a new issue