mirror of
https://github.com/liquidraver/ZephCore.git
synced 2026-10-22 21:11:38 +00:00
Add INF log to BW settings in sx driver to track MG24 error
This commit is contained in:
1 parent
8d1823d0b6
commit
3daad918f2
1 file changed
+3
@@ -394,6 +394,9 @@ int sx12xx_lora_config(const struct device *dev,
|
||||
LOG_ERR("Unsupported bandwidth: %d", config->bandwidth);
|
||||
return ret;
|
||||
}
|
||||
LOG_INF("lora_config: bw_enum=%d bw_idx=%u tx=%d freq=%u sf=%d",
|
||||
config->bandwidth, bw_idx, config->tx, config->frequency,
|
||||
config->datarate);
|
||||
|
||||
/* Ensure available, decremented after configuration */
|
||||
if (!modem_acquire(&dev_data)) {
|
||||
|
||||
Reference in new issue
Block a user