mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2025-04-21 12:27:27 +03:00
Disable CLKM in atspi-txrx, to reduce interferences.
- atrf/tools/atspi-txrx/atspi-txrx.c: disable CLKM when sending or receiving - TODO: minor edit, missed in last commit
This commit is contained in:
@@ -57,6 +57,7 @@ static usb_dev_handle *init_txrx(int trim)
|
||||
atspi_reg_write(dev, REG_TRX_STATE, TRX_CMD_TRX_OFF);
|
||||
atspi_reg_write(dev, REG_XOSC_CTRL,
|
||||
(XTAL_MODE_INT << XTAL_MODE_SHIFT) | trim);
|
||||
atspi_reg_write(dev, REG_TRX_CTRL_0, 0); /* disable CLKM */
|
||||
|
||||
return dev;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user