Thread: cam_uart_buffer
View Single Post
  #1   Spotlight this post!  
Unread 10-02-2006, 11:16
CalvinEiber CalvinEiber is offline
Registered User
FRC #1308 (Ignatius Wildcats)
Team Role: Leadership
 
Join Date: Nov 2005
Rookie Year: 2004
Location: Cleveland, OH
Posts: 7
CalvinEiber is an unknown quantity at this point
cam_uart_buffer

When I complie the code in MPlab, I get the message
"Error - symbol 'cam_uart_buffer' has multiple definitions."

There are two definitions of this - one in user_routines_fast:

#if _USE_CMU_CAMERA
...
#include camera.h
...
extern unsigned char cam_uart_buffer[];"
...
#endif

and another in user_camera.c:

#if _USE_CMU_CAMERA
...
unsigned char cam_uart_buffer[64];
...
#endif"

I tried removing one, and I got the same message. I removed both, and I got a host of "symbol undefined - cam_uart_buffer"

What should I do?