Treehouse Mbed Team / Mbed 2 deprecated APS_1U5x

Dependencies:   mbed

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