AnsweredAssumed Answered

An  issue about ADuc7020

Question asked by hpkamen on Dec 24, 2015
Latest reply on Jan 4, 2016 by ABuda

Dear Sir/Madam,


I am using ADuc7020, when i Invoke  dac.h, appearing below error:

C:\Keil\ARM\INC\ADI\dac.h(43): error:  #101: "s_DAC_Channel" has already been declared in the current scope

C:\Keil\ARM\INC\ADI\dac.h:   typedef struct s_DAC_Channel {

C:\Keil\ARM\INC\ADI\dac.h:                  ^

C:\Keil\ARM\INC\ADI\dac.h(46): error:  #256: invalid redeclaration of type name "s_DAC_Channel" (declared at line 46)

C:\Keil\ARM\INC\ADI\dac.h:   } s_DAC_Channel;

C:\Keil\ARM\INC\ADI\dac.h:     ^

C:\Keil\ARM\INC\ADI\dac.h(48): error:  #101: "s_DAC" has already been declared in the current scope

C:\Keil\ARM\INC\ADI\dac.h:   typedef struct s_DAC {

C:\Keil\ARM\INC\ADI\dac.h:                  ^

C:\Keil\ARM\INC\ADI\dac.h(50): error:  #256: invalid redeclaration of type name "s_DAC" (declared at line 50)

 

Could you please check above issue.

thanks.

Outcomes