From c908eb48403565515d8f0dcd0d96610bad6faf5d Mon Sep 17 00:00:00 2001 From: Martin Preuss Date: Thu, 12 Sep 2024 13:12:01 +0200 Subject: [PATCH] avr: removed dead code. --- avr/modules/ds18b20/main.asm | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/avr/modules/ds18b20/main.asm b/avr/modules/ds18b20/main.asm index 3c3bd93..ff53409 100644 --- a/avr/modules/ds18b20/main.asm +++ b/avr/modules/ds18b20/main.asm @@ -75,17 +75,6 @@ Ds18b20_Fini: Ds18b20_Run: -ret ; debug - lds r16, ds18b20Flags - andi r16, DS18B20_FLAGS_CONV_UPDATED ; new value? - breq Ds18b20_Run_done ; nope, jump - rcall Ds18b20_SendTemp ; send value - brcc Ds18b20_Run_done ; jump on error - lds r16, ds18b20Flags ; value sent, clear flag - andi r16, ~DS18B20_FLAGS_CONV_UPDATED - sts ds18b20Flags, r16 -Ds18b20_Run_done: - clc ret