Go easy on the alarm irq frequency.

This won't slow down uploads as long as the sender uploads fast enought.
This commit is contained in:
dhewg 2009-04-17 00:39:21 +02:00 committed by bushing
parent b899ab76f8
commit 9086957f72

View File

@ -286,7 +286,6 @@ void gecko_timer(void) {
_gecko_receive_left = 4;
_gecko_receive_buffer = (u8 *) 0x0; // yarly
irq_set_alarm(1, 0);
_gecko_cmd_start_time = read32(HW_TIMER);
break;
@ -297,7 +296,6 @@ void gecko_timer(void) {
_gecko_receive_left = 4;
_gecko_receive_buffer = (u8 *) 0x10100000;
irq_set_alarm(1, 0);
_gecko_cmd_start_time = read32(HW_TIMER);
break;
@ -361,8 +359,6 @@ void gecko_timer(void) {
cleanup:
gecko_flush();
irq_set_alarm(20, 0);
_gecko_cmd = 0;
_gecko_cmd_start_time = 0;
_gecko_state = GECKO_STATE_NONE;