|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||||
|
|||||
|
all of a sudden when i compile now i get this error:
C:\mcc18\h\adc.h:160:Error: syntax error witch goes to this line in the code: -> union ADCResult { int lr; // 2 bytes as a long char br[2]; // 2 bytes as 2 chars }; what should be done to correct this error? |
|
#2
|
|||||
|
|||||
|
Re: error with adc.h
This seems correct...
You probably left something out earlier in the code. Most likely the line of code that is immediately before it... but it depends on the error. |
|
#3
|
|||||
|
|||||
|
Re: error with adc.h
Quote:
I am guessing that it must be main.c, user_routines.c, or user_routines_fast.c. because:
Good luck! |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| adc.h missing | pagemauck | Programming | 9 | 16-11-2004 06:56 |
| Header Not Found (adc.h) | NotQuiteFree | Programming | 2 | 23-01-2004 16:26 |