From f13ad262774483f5248b976c851f5deab0d37207 Mon Sep 17 00:00:00 2001 From: hamx Date: Sat, 11 Jan 2025 23:03:04 +0100 Subject: [PATCH] revert 4872607c76f8c1b7eb2ecb9275ac443bf3ecb189 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit revert żeby się mieściło --- main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.c b/main.c index d5f7282..72ea9d7 100644 --- a/main.c +++ b/main.c @@ -1,5 +1,6 @@ #include #include + #pragma config FOSC = HS // Oscillator Selection bits #pragma config WDTE = OFF // Watchdog Timer Enable bit #pragma config PWRTE = OFF // Power-up Timer Enable bit @@ -7,6 +8,7 @@ #pragma config BOREN = OFF // Brown-out Reset Enable bit #define LENGTH 8 + unsigned int sum = 0; // Suma liczb 8-bitowych, zapisana w zmiennej 16-bitowej unsigned char rest = 0; unsigned int result = 0;