/*
- * Copyright (C) 2010-2012 jeanfi@gmail.com
+ * Copyright (C) 2010-2013 jeanfi@gmail.com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
s = sensors;
while (*s) {
- if ((*s)->type == type)
+ if ((*s)->type & type)
return 1;
s++;
}