Zur Übersicht - INFO - Neueste 50 Beiträge - Neuer Beitrag - Suchen - Zum C-Control-I-Forum - Zum C-Control-II-Forum

Re: Error in IntFunc_Lib.cc Kategorie: IDE (von PeterS - 9.02.2010 9:07)
Als Antwort auf Error in IntFunc_Lib.cc von PepeV - 8.02.2010 21:31

> The file IntFunc_Lib.cc contains two errors:
>
> The blocks:
>
> #ifdef MEGA32
> #define PS0_1      1
> #define PS0_8      2
> #define PS0_64     3
> #define PS0_256    4
> #define PS0_1024   5
> #endif // MEGA32
>
> and
>
> #ifdef MEGA128
> #define PS0_1      1
> #define PS0_8      2
> #define PS0_32     3
> #define PS0_64     4
> #define PS0_128    5
> #define PS0_256    6
> #define PS0_1024   7
> #endif // MEGA128
>
> do not compile correctly because of the comments // MEGA32  resp. // MEGA128 in the last lines.
> The result is that the MEGA128 uses the MEGA32 definitions which leads to unexpected results that
> are very hard to debug as I noticed.

That is not true. I tested it and it worked correctly. Should there be an exceptional case that
leads to problems, please post it here or send it to ccpro@gmx.de.

Regards

Peter


    Antwort schreiben


Antworten:

Re: Error in IntFunc_Lib.cc (von PepeV - 9.02.2010 19:46)
    Re: Error in IntFunc_Lib.cc (von PeterS - 10.02.2010 0:38)
        Re: Error in IntFunc_Lib.cc (von PepeV - 12.02.2010 11:26)