Page 1 of 1

error in ADC.bas

Posted: Wed Jan 12, 2022 9:14 pm
by Jerry Messina
I don't know when/how this happened, but there's a missing comma in the file ADC.bas.
A comma needs to be added to the end of the line 'AN11 = $0B' as shown below:

Code: Select all

// channel select constants...
public const
   AN0 = $00,
   AN1 = $01,
   AN2 = $02,
   AN3 = $03,
   AN4 = $04,
   AN5 = $05,
   AN6 = $06,
   AN7 = $07
#if (_adc > 8)
public const
   AN8  = $08,
   AN9  = $09,
   AN10 = $0A,
   AN11 = $0B,
   AN12 = $0C,
   AN13 = $0D,
   AN14 = $0E,
   AN15 = $0F
#endif   
edit: I went back and checked... seems this error was introduced in V2.2.3.2 (Apr 2020)