sparkfun/MPL3115A2_Breakout — pull request #14 by jenleelind (2014-12-12 04:43:41+00:00)
Title: add missing parenthesis

Equals comparison has higher precedence than bitwise &, so toggleOneShot() wasn't happening for the first temperature reading if not preceded by another read function with a call to toggleOneShot().

Also make readAltitude() consistent with other read functions and fix some indentation.