sensors: Simplify the data translation in the back-compat hook
Since the sensor data comes in a union, we don't need to do a copy for every possible entry, we just need one per type. This cuts us down from 6 data copies on every poll to just 2. Change-Id: I755f3018ad38be1b7fa04528143507204b4df605
Loading
Please register or sign in to comment