Merge branch 'MK3' into update_readme
This commit is contained in:
commit
6dce7413b6
|
|
@ -45,7 +45,7 @@
|
||||||
//LANG - Multi-language support
|
//LANG - Multi-language support
|
||||||
//#define LANG_MODE 0 // primary language only
|
//#define LANG_MODE 0 // primary language only
|
||||||
#define LANG_MODE 1 // sec. language support
|
#define LANG_MODE 1 // sec. language support
|
||||||
#define LANG_SIZE_RESERVED 0x2f00 // reserved space for secondary language (12032 bytes)
|
#define LANG_SIZE_RESERVED 0x2b00 // reserved space for secondary language (11008 bytes)
|
||||||
|
|
||||||
|
|
||||||
#endif //_CONFIG_H
|
#endif //_CONFIG_H
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,9 @@
|
||||||
// use atmega timer2 as main system timer instead of timer0
|
// use atmega timer2 as main system timer instead of timer0
|
||||||
// timer0 is used for fast pwm (OC0B output)
|
// timer0 is used for fast pwm (OC0B output)
|
||||||
// original OVF handler is disabled
|
// original OVF handler is disabled
|
||||||
|
|
||||||
|
#ifdef SYSTEM_TIMER_2
|
||||||
|
|
||||||
#include <avr/io.h>
|
#include <avr/io.h>
|
||||||
#include <avr/interrupt.h>
|
#include <avr/interrupt.h>
|
||||||
#include "Arduino.h"
|
#include "Arduino.h"
|
||||||
|
|
@ -166,3 +169,5 @@ void noTone2(__attribute__((unused)) uint8_t _pin)
|
||||||
{
|
{
|
||||||
PIN_CLR(BEEPER);
|
PIN_CLR(BEEPER);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif //SYSTEM_TIMER_2
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue