Slimming down the Atmel AVR port.

This commit is contained in:
skarg
2007-10-19 03:21:45 +00:00
parent bfefe8cd62
commit 194c6d17ac
9 changed files with 386 additions and 167 deletions
-7
View File
@@ -38,9 +38,6 @@
/* For porting to IAR, see:
http://www.avrfreaks.net/wiki/index.php/Documentation:AVR_GCC/IarToAvrgcc*/
/* broadcast an I-Am on startup */
extern bool Send_I_Am;
/* dummy function */
bool dcc_communication_enabled(void) {
return true;
@@ -166,10 +163,6 @@ int main(void)
#endif
datalink_init(NULL);
for (;;) {
if (Send_I_Am) {
Send_I_Am = false;
iam_send(&Handler_Transmit_Buffer[0]);
}
input_switch_read();
task_milliseconds();
/* other tasks */