From: Jean-Philippe Orsini Date: Fri, 15 Mar 2013 09:25:09 +0000 (+0000) Subject: removed useless whitespaces X-Git-Tag: v0.8.0.5~165 X-Git-Url: http://git.wpitchoune.net/gitweb/?p=psensor.git;a=commitdiff_plain;h=51734731dd213219e2bf4461d09233545722e710 removed useless whitespaces updated copyright --- diff --git a/src/lib/amd.c b/src/lib/amd.c index 2488c59..e702e1a 100644 --- a/src/lib/amd.c +++ b/src/lib/amd.c @@ -1,6 +1,6 @@ /* * Copyright (C) 2010-2011 thgreasi@gmail.com, jeanfi@gmail.com - * 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 @@ -110,13 +110,13 @@ static struct psensor *create_sensor(int id, int values_len) if (id & 1) {/* odd number ids represent fan sensors */ id = id >> 1; sprintf(name, "GPU%dfan", id); - sensor_type = SENSOR_TYPE_ATIADL + sensor_type = SENSOR_TYPE_ATIADL | SENSOR_TYPE_FAN | SENSOR_TYPE_RPM; } else {/* even number ids represent temperature sensors */ id = id >> 1; sprintf(name, "GPU%dtemp", id); - sensor_type = SENSOR_TYPE_ATIADL + sensor_type = SENSOR_TYPE_ATIADL | SENSOR_TYPE_GPU | SENSOR_TYPE_TEMP; }