Added global engine temp in general data store
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#include "general_store.h"
|
||||
|
||||
volatile double vbat_global = 0;
|
||||
volatile double teng_global = 0;
|
||||
|
||||
void vbat_global_read(double& out) {
|
||||
out = vbat_global;
|
||||
@@ -11,4 +12,12 @@
|
||||
|
||||
void vbat_global_write(const double& in) {
|
||||
vbat_global = in;
|
||||
}
|
||||
|
||||
void teng_global_read(double& out) {
|
||||
out = vbat_global;
|
||||
}
|
||||
|
||||
void teng_global_write(const double& in) {
|
||||
vbat_global = in;
|
||||
}
|
||||
Reference in New Issue
Block a user