From 08e142890298bac2d431135e37502267e2ef06d0 Mon Sep 17 00:00:00 2001 From: Martin Preuss Date: Thu, 1 May 2025 01:01:22 +0200 Subject: [PATCH] avr: adapted n23 to latest changes. --- avr/devices/n23/main/data.asm | 5 -- avr/devices/n23/main/main.asm | 132 ++-------------------------------- 2 files changed, 5 insertions(+), 132 deletions(-) diff --git a/avr/devices/n23/main/data.asm b/avr/devices/n23/main/data.asm index 20b822c..31ccc2f 100644 --- a/avr/devices/n23/main/data.asm +++ b/avr/devices/n23/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/n23/main/main.asm b/avr/devices/n23/main/main.asm index 67a67ae..807b993 100644 --- a/avr/devices/n23/main/main.asm +++ b/avr/devices/n23/main/main.asm @@ -77,6 +77,9 @@ #define APPS_NETWORK #define APPS_MOTION +#define APPS_REPORTSENSORS +#define APPS_STATS + ; --------------------------------------------------------------------------- @@ -158,58 +161,6 @@ onSystemStart: -; --------------------------------------------------------------------------- -; @routine systemSetSpeed -; -; Called every 100ms. Add your routine calls here. No arguments, no results. - -systemSetSpeed: -.if clock == 8000000 - ldi r16, (1<