Lourdes Brower de Koning

Error C2450 - MC9S12C64

Discussion created by Lourdes Brower de Koning on Oct 20, 2008
Latest reply on Oct 24, 2008 by Lourdes Brower de Koning
Hello, I need help to solve a error C2450 that gives me this code.
The complete message of the error is:  Error : C2450: Expected: ; = ,
                                                                TratamentoDePassagens.c  line 19 

Thank you in advance for the help...

The microcontroller that use is: MC9S12C64
The code is:
#include "TratamentoDePassagens.h"
#include "TDS_TratamentoVolta.h"  
#include "DefinicoesGLobais.h"
#include "Persistencia.h"           
#include "TDS_Auxiliar.h"
#define TAMANHO_DO_DADO_2 4
         
unsigned char proximidadeEntrePassagens = PASSAGENS_PROXIMAS;
unsigned char regioesDePassagem[TAMANHO_DO_DADO_2] = {REGIAO_DISTANTE, REGIAO_DISTANTE, REGIAO_DISTANTE, REGIAO_DISTANTE};
unsigned char vetAbaixoDoLimiarDeDistorcao[] = {0, 0, 0, 0};
unsigned int vetInstantesDeEntrada[] = {0, 0, 0, 0, 0, 0, 0, 0};
unsigned int vetInstantesDeSaida[]= {0, 0, 0, 0, 0, 0, 0, 0};
unsigned char picos[TAMANHO_DO_DADO_2] = {0, 0, 0, 0};

extern  T_PASSAGEM  *pPassagemTerminada; // ******** HERE THE ERROR APPEARS !!!!! *******
     
extern unsigned char limiarDeRegiaoProxima[];
extern unsigned char limiarDeRegiaoMuitoProxima[];
extern unsigned char vetIndiceNiveisZeroDeLimiares[TAMANHO_DO_DADO_2];
            
#ifdef USAR_CALIBRACAO
unsigned char *far pNivelInferiorDeSensores = (unsigned char *far)ENDERECO_NIVEIS_0_DE_SENSORES;
#else
unsigned char nivelZeroDeSensores[];
#endif

#pragma CONST_SEG CONST_MUTAVEIS   
extern const T_FUNCAO_CONTAGEM vetFuncoesDeTratamentoDePassagens[] =
{
   
  //  more code... is not important  (I extract it to save space)                                               
       
};

#pragma CODE_SEG FIRM_MUTAVEL
{
 
    //  more code... is not important  (I extract it to save space)

#pragma CODE_SEG DEFAULT
   
Added p/n to subject.


Message Edited by NLFSJ on 2008-10-22 06:51 AM

Outcomes