# HG changeset patch # User Mychaela Falconia # Date 1510730526 0 # Node ID a90812ea82c999bc68363e6177c25a03cf3393a9 # Parent 5b1358df7e3c4535fd66424f0099ef4801661309 AT%A output changed from hex to decimal with more descriptive names fixed C sequence points violation while at it diff -r 5b1358df7e3c -r a90812ea82c9 src/cs/services/cst/cst_exts.c --- a/src/cs/services/cst/cst_exts.c Sat Nov 04 19:40:20 2017 +0000 +++ b/src/cs/services/cst/cst_exts.c Wed Nov 15 07:22:06 2017 +0000 @@ -296,12 +296,16 @@ UCHAR size; adc_conversion = csf_return_adc (); -#ifdef ALR +#if 1 /* FreeCalypso change */ + sprintf (buf, "VBAT=%u, VCHG=%u, ICHG=%u, VBACKUP=%u, ADIN1=%u, ADIN2=%u, ADIN3=%u, RFTEMP=%u, ADIN5=%u", + adc_conversion[0], adc_conversion[1], adc_conversion[2], + adc_conversion[3], adc_conversion[4], adc_conversion[5], + adc_conversion[6], adc_conversion[7], adc_conversion[8]); +#elif defined(ALR) sprintf (buf, "ADC 0 = %x, ADC 1 = %x, ADC 2 = %x, ADC 3 = %x, ADC 4 = %x, ADC 5 = %x, ADC 6 = %x, ADC 7 = %x, ADC 8 = %x", *adc_conversion++, *adc_conversion++, *adc_conversion++, *adc_conversion++, *adc_conversion++, *adc_conversion++, *adc_conversion++, *adc_conversion++, *adc_conversion); - #else sprintf (buf, "ADC 0 = %x, ADC 1 = %x, ADC 2 = %x, ADC 3 = %x, ADC 4 = %x", *adc_conversion++, *adc_conversion++, *adc_conversion++,