Ejemplo n.º 1
0
/*============================================================================
Name    :   config_sensors
------------------------------------------------------------------------------
Purpose :   Configure the sensors
Input   :   n/a
Output  :   n/a
Notes   :   n/a
============================================================================*/
static void config_sensors(void)
{
#if defined(_ROTOR_SLIDER_)
    config_rotor_sliders();
#else /*    !_ROTOR_SLIDER_ OR ONLY KEYS    */
    config_keys();
#endif /*   _ROTOR_SLIDER_  */
}
Ejemplo n.º 2
0
//! \brief Configure the QTouch sensors
static void config_sensors(void)
{
#if defined(_ROTOR_SLIDER_)
	// Configure for _ROTOR_SLIDER_
	config_rotor_sliders();
#else
	// Configure for only keys
	config_keys();
#endif 
}