Converted to ino by Arduino 1.5.8. Forgot a ; symbol inside the calculateCurrentUsage method