Dear listers,

I got too excited... Sorry.
"sys.h" should be like this..

   SYS.H
   =====  
   #ifndef SYS_H
   #define SYS_H
    #ifdef SYS_C
    void SystemTick     ( void ) __interrupt (1) __using (1);   // timer 0
     void LoadDelay      ( unsigned int ticks );
     void Delay          ( unsigned int ticks );
     void InitMcu        ( void );
     volatile unsigned int  vTICKS;           // system ticks
     volatile unsigned char vTIMEOUT;         // system timeout flag
    #else
    extern void SystemTick     ( void ) __interrupt (1) __using (1);   // timer 0
     extern void LoadDelay      ( unsigned int ticks );
     extern void Delay          ( unsigned int ticks );
     extern void InitMcu        ( void );
     extern volatile unsigned int  vTICKS;           // system ticks
     extern volatile unsigned char vTIMEOUT;         // system timeout flag
    #endif /* SYS_C */
   #endif /* SYS_H */

Regards,
Fahmy

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sdcc-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to