Fix a typo which could cause a buffer overflow in the light sensor HAL

Change-Id: I9231e26b423bfc47a4564c24895d19c2c5a2c00f
1 file changed