From 5f220dc86fe6aeb6b12dae9bd81f2026fea2bd4c Mon Sep 17 00:00:00 2001 From: Martin Preuss Date: Thu, 1 May 2025 01:01:05 +0200 Subject: [PATCH] avr: adapted n21 to latest changes. --- avr/devices/n21/main/data.asm | 5 -- avr/devices/n21/main/main.asm | 131 ++-------------------------------- 2 files changed, 5 insertions(+), 131 deletions(-) diff --git a/avr/devices/n21/main/data.asm b/avr/devices/n21/main/data.asm index 20b822c..31ccc2f 100644 --- a/avr/devices/n21/main/data.asm +++ b/avr/devices/n21/main/data.asm @@ -12,8 +12,3 @@ .dseg -programRamBegin: - programRamSensorTimer: .byte 1 ; seconds counter - programRamStatsTimer: .byte 1 ; minutes counter -programRamEnd: - diff --git a/avr/devices/n21/main/main.asm b/avr/devices/n21/main/main.asm index 1e8a1ba..4440a43 100644 --- a/avr/devices/n21/main/main.asm +++ b/avr/devices/n21/main/main.asm @@ -79,6 +79,9 @@ #define APPS_NETWORK #define APPS_MOTION #define APPS_DOOR +#define APPS_REPORTSENSORS +#define APPS_STATS + ; --------------------------------------------------------------------------- @@ -154,58 +157,6 @@ onSystemStart: -; --------------------------------------------------------------------------- -; @routine systemSetSpeed -; -; Called every 100ms. Add your routine calls here. No arguments, no results. - -systemSetSpeed: -.if clock == 8000000 - ldi r16, (1<