Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Diff: src/lut.cpp
- Revision:
- 22:2c37ac12746e
- Parent:
- 18:78e982f31c6b
- Child:
- 25:8bcc8bea0e31
--- a/src/lut.cpp Fri Jan 11 21:45:55 2019 +0000 +++ b/src/lut.cpp Tue Jan 15 01:32:33 2019 +0000 @@ -35,19 +35,21 @@ unsigned int thermCode[BOARDS_THERMCODE_WIDTH+1]; -#include "lut_data_en_v1p1.h" -#include "lut_data_slot_v1p1.h" +#include "lut_data_en_v1p3.h" +#include "lut_data_slot_v1p3.h" /******************************************************************************* getLUT_binCode - gets output codes from LUT using row reference. *******************************************************************************/ unsigned int getLUT_binCode(unsigned short row){ - return binC[row/LUT_SCALE_FACTOR]; + //return binC[row/LUT_SCALE_FACTOR]; + return binC[row]; } /******************************************************************************* getLUT_binCode - gets output codes from LUT using row reference. *******************************************************************************/ unsigned int getLUT_thermCode(unsigned short row){ - return thermC[row/LUT_SCALE_FACTOR]; + //return thermC[row/LUT_SCALE_FACTOR]; + return thermC[row]; } \ No newline at end of file