[En-Nut-Discussion] Compilation of the trunk is currently broken! (spi_vscodec.c)
ole.reinhardt at embedded-it.de
Sun Aug 30 12:38:26 CEST 2009
currently compilation of the trunk fails at least for ethernut3 with the
home/ole/work/NutOS/ethernut/trunk/nut/dev/spi_vscodec.c: In function
‘VS_BASS_REG’ undeclared (first use in this function)
(Each undeclared identifier is reported only once
for each function it appears in.)
‘VS_ST_AMPLITUDE_LSB’ undeclared (first use in this function)
‘VS_ST_FREQLIMIT_LSB’ undeclared (first use in this function)
‘VS_SB_AMPLITUDE_LSB’ undeclared (first use in this function)
‘VS_SB_FREQLIMIT_LSB’ undeclared (first use in this function)
It's because VS_HAS_BAS_REG is not defined for a platform where no VS
codec is selected. In this case the vs chip is set to "AUDIO0_VSAUTO"
where this value is not declared.
I think VsDecoderSetBass(...) should also only be declared if
VS_HAS_BAS_REG is definded, right? Please somebody who is working on
this driver fix this issue. Thanks!
| Embedded-IT |
| Ole Reinhardt Tel. / Fax: +49 (0)271 7420433 |
| Luisenstraße 29 Mobil: +49 (0)177 7420433 |
| 57076 Siegen eMail: ole.reinhardt at embedded-it.de |
| Germany Web: http://www.embedded-it.de |
More information about the En-Nut-Discussion