o-marshmallow / PocketCHIP-pocket-home

PocketCHIP home screen: shows status, opens programs, changes settings
128 stars 32 forks source link

Modified to remove the spawning of new processes. #16

Closed zwack-am closed 7 years ago

zwack-am commented 7 years ago

I've modified BatteryMonitor.cpp so instead of spawning a child process for every i2cget it simply uses C to directly query the I2Cdevices and read the appropriate registers. This adds less overhead and resolves the issues I was having with defunct processes.