|
|
|
![]() |
|
||||||||||||||
|
|||||||||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
linker error help
I am getting a: symbol 'FIRE_DELAYS' has multiple definitions
Now the problem is, FIRE_DELAYS is only refrenced two places in my code. they are: Code:
------ fire_control.h -------
#ifndef __fire_control_h_
#define __fire_control_h_
...
const unsigned char FIRE_DELAYS[] =
{75, /*FIRING*/
200, /*RETRACTING*/
500}; /*LOADING*/
...
#endif
------ fire control.c -------
#include "fire_control.h"
void FireControl(void){
...
if(i < FIRE_DELAYS[fireState -1]){
...
}
...
}
Last edited by Rickertsen2 : 02-13-2006 at 04:39 PM. |
|
#2
|
||||
|
||||
|
Re: linker error help
Quote:
|
|
#3
|
||||
|
||||
|
Re: linker error help
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| guidelines for modifying the linker script??? | gnormhurst | Programming | 2 | 03-06-2005 01:03 AM |
| Linker Error | Max Lobovsky | Programming | 4 | 05-27-2004 07:16 PM |
| Linker Error help | Dinush | Programming | 3 | 02-11-2004 08:44 PM |