Am 05.09.2002 07:55:36, schrieb "Harry Lemmens" <[email protected]>:

>G'Day All,
>
>I have discovered a bug in the "adc12.h" header file.  (After debugging an
>ADC app for many hours!)
>
>The file erroneously has the following
>
>#define SHS_0               0
>#define SHS_1               (1<<6)
>#define SHS_2               (2<<6)
>#define SHS_3               (3<<6)
>
>but the SHS bits live at bits 10 and 11, so the file should read as below
>
>#define SHS_0               0
>#define SHS_1               (1<<10)
>#define SHS_2               (2<<10)
>#define SHS_3               (3<<10)

tnx, fixed

chris




Reply via email to