turn on tx_on
This commit is contained in:
parent
0f9f67d002
commit
d097647edd
2 changed files with 6 additions and 2 deletions
|
@ -25,6 +25,10 @@ void main(void) {
|
|||
|
||||
maca_init();
|
||||
|
||||
/* sets up tx_on, should be a board specific item */
|
||||
*GPIO_FUNC_SEL2 = (0x01 << ((44-16*2)*2));
|
||||
*GPIO_PAD_DIR_SET1 = (1 << (44-32));
|
||||
|
||||
set_power(0x0f); /* 0dbm */
|
||||
set_channel(0); /* channel 11 */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue