projects
/
psensor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8dc598f
)
removed useless whitespaces
author
Jean-Philippe Orsini
<jeanfi@gmail.com>
Fri, 15 Mar 2013 09:25:09 +0000
(09:25 +0000)
committer
Jean-Philippe Orsini
<jeanfi@gmail.com>
Fri, 15 Mar 2013 09:25:09 +0000
(09:25 +0000)
updated copyright
src/lib/amd.c
patch
|
blob
|
history
diff --git
a/src/lib/amd.c
b/src/lib/amd.c
index
2488c59
..
e702e1a
100644
(file)
--- 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-2011 thgreasi@gmail.com, jeanfi@gmail.com
- * Copyright (C) 2010-201
2
jeanfi@gmail.com
+ * Copyright (C) 2010-201
3
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
*
* 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);
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_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;
}
| SENSOR_TYPE_GPU
| SENSOR_TYPE_TEMP;
}