Minor bootloader tweaks; make some functions static where possible to reduce the compiled binary size, add additional comments to the makefiles.

This commit is contained in:
Dean Camera 2012-01-15 14:07:14 +00:00
parent 3038ea1c6e
commit bc3db793e9
9 changed files with 24 additions and 10 deletions

View file

@ -88,7 +88,7 @@ int main(void)
}
/** Configures all hardware required for the bootloader. */
void SetupHardware(void)
static void SetupHardware(void)
{
/* Disable watchdog if enabled by bootloader/fuses */
MCUSR &= ~(1 << WDRF);
@ -350,7 +350,7 @@ static void WriteNextResponseByte(const uint8_t Response)
/** Task to read in AVR910 commands from the CDC data OUT endpoint, process them, perform the required actions
* and send the appropriate response back to the host.
*/
void CDC_Task(void)
static void CDC_Task(void)
{
/* Select the OUT endpoint */
Endpoint_SelectEndpoint(CDC_RX_EPNUM);