Commit effc54de authored by Malthe R. Husted's avatar Malthe R. Husted

fix constants

parent 7cf536ba
......@@ -72,7 +72,7 @@ app.get('/currentdata', (request, response, next) => {
/* Sensor stuff */
sensorLib.initialize(11, 4)
setInterval(() => {
const interval = setInterval(() => {
read()
}, 10000)
......
......@@ -7,7 +7,7 @@ let myChart
dataFetch()
/* Create interval to update data periodically */
const interval = setInterval(() => {
setInterval(() => {
currentData()
}, 10000)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment