avr: fixed definitions to use updated LED module.
This commit is contained in:
@@ -21,8 +21,6 @@
|
||||
.include "common/calls.asm"
|
||||
.include "common/utils_io.asm"
|
||||
.include "common/utils_wait.asm"
|
||||
.include "modules/com2/defs.asm"
|
||||
.include "modules/comproto/defs.asm"
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -35,12 +35,13 @@
|
||||
; ---------------------------------------------------------------------------
|
||||
; LED module
|
||||
|
||||
.equ LED_SIMPLE_ONTIME = 3
|
||||
.equ LED_SIMPLE_OFFTIME = 30
|
||||
.equ LED_SIMPLE_DDR = DDRB
|
||||
.equ LED_SIMPLE_PORT = PORTB
|
||||
.equ LED_SIMPLE_PORTIN = PINB
|
||||
.equ LED_SIMPLE_PINNUM = PORTB4
|
||||
.equ LED1_DEFAULT_ONTIME = 1 ; shorter
|
||||
.equ LED1_DEFAULT_OFFTIME = 99 ; longer
|
||||
.equ LED1_DEFAULT_REPEATS = 0 ; continous
|
||||
.equ LED1_DDR = DDRB
|
||||
.equ LED1_PORT = PORTB
|
||||
.equ LED1_PORTIN = PINB
|
||||
.equ LED1_PINNUM = PORTB4
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
; firmware settings including list of modules used
|
||||
|
||||
#define MODULES_CLOCK
|
||||
#define MODULES_LED_SIMPLE
|
||||
#define MODULES_LED1
|
||||
#define MODULES_NETWORK
|
||||
#define MODULES_COM2W
|
||||
#define MODULES_OWI_MASTER
|
||||
|
||||
Reference in New Issue
Block a user