Code style fixes: cc253x
This commit is contained in:
parent
874bec26a5
commit
380ee3bae9
12 changed files with 74 additions and 76 deletions
|
@ -483,8 +483,7 @@ off(void)
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
const struct radio_driver cc2530_rf_driver =
|
const struct radio_driver cc2530_rf_driver = {
|
||||||
{
|
|
||||||
init,
|
init,
|
||||||
prepare,
|
prepare,
|
||||||
transmit,
|
transmit,
|
||||||
|
|
|
@ -88,7 +88,7 @@ dma_reset(uint8_t c)
|
||||||
dma_conf[c].len_l = 1;
|
dma_conf[c].len_l = 1;
|
||||||
dma_conf[c].wtt = DMA_BLOCK;
|
dma_conf[c].wtt = DMA_BLOCK;
|
||||||
dma_conf[c].inc_prio = DMA_PRIO_GUARANTEED;
|
dma_conf[c].inc_prio = DMA_PRIO_GUARANTEED;
|
||||||
DMA_TRIGGER(c); // The operation order is important
|
DMA_TRIGGER(c); /** The operation order is important */
|
||||||
DMA_ARM(c);
|
DMA_ARM(c);
|
||||||
while(DMAARM & (1 << c));
|
while(DMAARM & (1 << c));
|
||||||
}
|
}
|
||||||
|
|
|
@ -47,4 +47,3 @@ struct mtarch_thread {
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* __MTARCH_H__ */
|
#endif /* __MTARCH_H__ */
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue