We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3d8a5bd + 42e347e commit 1a4af8fCopy full SHA for 1a4af8f
drivers/sx126x/sx126x.c
@@ -359,6 +359,13 @@ int sx126x_init(sx126x_t *dev)
359
return -ENODEV;
360
}
361
362
+ if (sx126x_is_sx1262(dev)) {
363
+ /* Workaround for SX1262, during the chip initialization.
364
+ Calling this function optimizes the PA clamping threshold.
365
+ The call must be done after a Power On Reset or a wake-up from cold start */
366
+ sx126x_cfg_tx_clamp(dev);
367
+ }
368
+
369
/* Configure the power regulator mode */
370
sx126x_set_reg_mode(dev, dev->params->regulator);
371
0 commit comments