Funkce a pointery - PICL
Michal HW
michalgregor@centrum.cz
Čtvrtek Leden 13 11:15:28 CET 2005
volatile funkce nelze, pretypovani pomohlo.
dik.
Michal
----- Original Message -----
From: "Lukas Grepl" <L.Grepl@sh.cvut.cz>
To: "HW-news" <hw-list@list.hw.cz>
Sent: Wednesday, January 12, 2005 11:10 PM
Subject: Re: Funkce a pointery - PICL
> volatile unsigned char Pult_Bufer[21];
> unsigned char Znak_Cislo(unsigned char *p_i);
> Pom_ISR=Pom_ISR+Znak_Cislo(&Pult_Bufer[10]);
Nevim presne proc, ale vadi mu to volatile. Pokud vas ta hlaska irituje,
muzete pouzit
Pom_ISR=Pom_ISR+Znak_Cislo((unsigned char *) &Pult_Bufer[10]);
(pripadne pridat to volatile do deklarace fce).
Lukas Grepl
Další informace o konferenci Hw-list