|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| 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 : 13-02-2006 at 17:39. |
|
#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 | 06-03-2005 02:03 |
| Linker Error | Max Lobovsky | Programming | 4 | 27-05-2004 20:16 |
| Linker Error help | Dinush | Programming | 3 | 11-02-2004 21:44 |