don't need to disable irqs in post anymore
This commit is contained in:
parent
e6a92481a1
commit
74643bbdac
|
@ -170,7 +170,6 @@ volatile packet_t* get_free_packet(void) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void post_receive(void) {
|
void post_receive(void) {
|
||||||
disable_irq(MACA);
|
|
||||||
last_post = RX_POST;
|
last_post = RX_POST;
|
||||||
/* this sets the rxlen field */
|
/* this sets the rxlen field */
|
||||||
/* this is undocumented but very important */
|
/* this is undocumented but very important */
|
||||||
|
@ -195,7 +194,6 @@ void post_receive(void) {
|
||||||
*MACA_SFTCLK = *MACA_CLK + RECV_SOFTIMEOUT; /* soft timeout */
|
*MACA_SFTCLK = *MACA_CLK + RECV_SOFTIMEOUT; /* soft timeout */
|
||||||
*MACA_TMREN = (1 << maca_tmren_sft);
|
*MACA_TMREN = (1 << maca_tmren_sft);
|
||||||
/* start the receive sequence */
|
/* start the receive sequence */
|
||||||
enable_irq(MACA);
|
|
||||||
*MACA_CONTROL = ( (1 << maca_ctrl_asap) |
|
*MACA_CONTROL = ( (1 << maca_ctrl_asap) |
|
||||||
( 4 << PRECOUNT) |
|
( 4 << PRECOUNT) |
|
||||||
( fcs_mode << NOFC ) |
|
( fcs_mode << NOFC ) |
|
||||||
|
|
Loading…
Reference in a new issue