Project

General

Profile

Revision 287

Added by Kevin Woo almost 14 years ago

Bootloader changes for majority and optimized rs485 sending

View differences:

bootloader.c
63 63
  boot = FALSE;
64 64

  
65 65
  // Grab the address from EEPROM
66
  addr = eeprom_read_byte((void*)EEPROM_ADDR);
66
  addr = read_addr();
67 67

  
68 68
  // Initialize the Pins
69 69
  DDRB = LED_GREEN | LED_YELLOW | LED_RED;  // Set the LED pins as outputs
......
79 79
      boot = TRUE;
80 80
  }
81 81

  
82
  // External override at bootup to enter bootloading mode
82 83
  if (!(BUT_PORT & (BUT_RED | BUT_BLACK))) {
83 84
      boot = TRUE;
84 85
  }

Also available in: Unified diff