/* Get a sensor mode. 
These execution states are not supported in all devices. The function return value will indicate whether or not the request could be processed. The result of the request, when supported, is device dependent. */
bool sensor_get_state(sensor_t *sensor, sensor_state_t *mode)
/* Get a sensor mode. 
These execution states are not supported in all devices. The function return value will indicate whether or not the request could be processed. The result of the request, when supported, is device dependent. */
bool sensor_get_state(sensor_t *sensor, sensor_state_t *mode)
{
	*mode = sensor->mod;
	return true;
}