From 52d2fb1b3acb5724cad2aad5c9310cb6c4e8a422 Mon Sep 17 00:00:00 2001 From: TiagoRG Date: Tue, 9 Apr 2024 15:14:08 +0100 Subject: [PATCH] Small fix Signed-off-by: TiagoRG --- 2ano/2semestre/ac2/extras_aula01-06/ex07.c | 1 - 1 file changed, 1 deletion(-) diff --git a/2ano/2semestre/ac2/extras_aula01-06/ex07.c b/2ano/2semestre/ac2/extras_aula01-06/ex07.c index d80492e..001fb98 100644 --- a/2ano/2semestre/ac2/extras_aula01-06/ex07.c +++ b/2ano/2semestre/ac2/extras_aula01-06/ex07.c @@ -32,7 +32,6 @@ int main() { } AD1CON1bits.ASAM = 1; while (IFS1bits.AD1IF == 0); - int value = ADC1BUF0; int total = 0; int *p = (int *)(&ADC1BUF0); for (; p <= (int *)(&ADC1BUFF); p+=4)