there's a setfuses target in the makefile now
This commit is contained in:
parent
41f5eac0a6
commit
8624c085d0
3
Makefile
3
Makefile
@ -53,3 +53,6 @@ bin: $(PRG).bin
|
|||||||
prg: $(PRG).bin
|
prg: $(PRG).bin
|
||||||
python2 megaHidProg.py -C -c 1000 -t 4 -b $(PRG).bin
|
python2 megaHidProg.py -C -c 1000 -t 4 -b $(PRG).bin
|
||||||
|
|
||||||
|
setfuses:
|
||||||
|
python2 megaHidProg.py -C -S -c 125 -L be -H d9 -E FC
|
||||||
|
|
||||||
|
5
rtc.c
5
rtc.c
@ -22,6 +22,11 @@ ISR(TIMER2_OVF_vect) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* initialize the RTC module
|
||||||
|
* this resets the internal time to the value given in the
|
||||||
|
* rtc_time parameter
|
||||||
|
*/
|
||||||
void rtc_init(uint32_t rtc_time)
|
void rtc_init(uint32_t rtc_time)
|
||||||
{
|
{
|
||||||
// Stop all interrupts
|
// Stop all interrupts
|
||||||
|
Loading…
Reference in New Issue
Block a user