
31 Oct
2014
31 Oct
'14
7:08 a.m.
Dear Bo Shen,
In message 5452EAD4.7080903@atmel.com you wrote:
I am thinking, whether it be better to keep this file as two copy? This will remove #ifdef, although a little code duplication.
I agree that we should try and minimize #ifdef's, but code duplication is even worse.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
The explanation requiring the fewest assumptions is the most likely
to be correct. -- William of Occam