git.ucc.asn.au
/
matches
/
MCTX3420.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
stuff
[matches/MCTX3420.git]
/
server
/
sensors
/
pressure.c
diff --git
a/server/sensors/pressure.c
b/server/sensors/pressure.c
index
61cdbcf
..
29b8d28
100644
(file)
--- a/
server/sensors/pressure.c
+++ b/
server/sensors/pressure.c
@@
-40,6
+40,9
@@
double Pressure_Callibrate(int id, int adc)
{
//double voltage = ADC_TO_VOLTS(adc); // convert reading to voltage
{
//double voltage = ADC_TO_VOLTS(adc); // convert reading to voltage
+ return (double)adc;
+
+ //TODO: Fix this
switch (id)
{
case PRES_HIGH0:
switch (id)
{
case PRES_HIGH0:
UCC
git Repository :: git.ucc.asn.au