Code style fixes: cc253x
This commit is contained in:
parent
874bec26a5
commit
380ee3bae9
|
@ -483,8 +483,7 @@ off(void)
|
|||
return 1;
|
||||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
const struct radio_driver cc2530_rf_driver =
|
||||
{
|
||||
const struct radio_driver cc2530_rf_driver = {
|
||||
init,
|
||||
prepare,
|
||||
transmit,
|
||||
|
|
|
@ -88,7 +88,7 @@ dma_reset(uint8_t c)
|
|||
dma_conf[c].len_l = 1;
|
||||
dma_conf[c].wtt = DMA_BLOCK;
|
||||
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);
|
||||
while(DMAARM & (1 << c));
|
||||
}
|
||||
|
|
|
@ -47,4 +47,3 @@ struct mtarch_thread {
|
|||
};
|
||||
|
||||
#endif /* __MTARCH_H__ */
|
||||
|
||||
|
|
Loading…
Reference in a new issue