Project

General

Profile

Revision 194

Added by Kevin Woo about 14 years ago

Added default fuses to the bootloader

View differences:

bootloader.c
1 1
#include "bootloader.h"
2 2

  
3
// Setup the default fuses
4
FUSES = {
5
    .low = (FUSE_SUT0 & FUSE_CKSEL3 & FUSE_CKSEL2 & FUSE_CKSEL0),
6
    .high = (FUSE_EESAVE & FUSE_SPIEN),
7
    .extended = (FUSE_SELFPRGEN),
8
};
3 9

  
10

  
11

  
4 12
// Error thresholds
5 13
#define MAX_RETRIES 5       // Number of times to retry before giving up
6 14

  

Also available in: Unified diff