#define LIGHT_FLASH_TIMED 1
/**
- * Use these definitions for the Ambient Light sensing modes. Manual will
- * force the display brightness based on the slider bar. Automatic mode will
- * force the system to control the lighting regions.
- * WARNING - DO NOT USE THIS FEATURE
- * Hardware auto brightness support is deprecated and will be removed in the next release.
- */
-
-#define ALS_MODE_MANUAL 0
-#define ALS_MODE_AUTOMATIC 1
-
-
-/**
* The parameters that can be set for a given light.
*
* Not all lights must support all parameters. If you
*/
int (*set_light)(struct light_device_t* dev,
struct light_state_t const* state);
- /**
- * Set the global ambient light sensing value.
- *
- * Returns: 0 on succes, error code on failure.
- *
- * WARNING - DO NOT USE THIS FEATURE
- * Hardware auto brightness support is deprecated and will be removed in the next release.
- */
- int (*set_als_mode)(int mode);
};