Push dev work to master #2

Merged
sixteenmillimeter merged 416 commits from dev into master 2018-07-19 15:29:02 +00:00
1 changed files with 3 additions and 5 deletions
Showing only changes of commit 3e9f560db0 - Show all commits

View File

@ -289,14 +289,12 @@ function index (req, res, next) {
}) })
} }
function bleGetState () {
return intval.state
}
function init () { function init () {
createServer() createServer()
intval.init() intval.init()
ble = new BLE(bleGetState) ble = new BLE(() => {
return intval.status()
})
ble.on('data', (str) => { ble.on('data', (str) => {
console.log(str) console.log(str)
}) })