This commit is contained in:
cdyong 2016-01-05 03:37:42 +00:00
parent 679a5edee2
commit a8ae6bd085
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ ITransport* Create2401(SPI_TypeDef* spi_, Pin ce, Pin irq, Pin power, bool power
nrf->Init(spi, ce, irq, power); nrf->Init(spi, ce, irq, power);
auto tc = TinyConfig::Init(); auto tc = TinyConfig::Init();
if(tc->Interval == 0) if(tc->Interval < 40)
{ {
tc->Channel = 120; tc->Channel = 120;
tc->Speed = 250; tc->Speed = 250;