From 80720302e6e3ddab580fe7b6266478c8ae6301e3 Mon Sep 17 00:00:00 2001 From: tedu Date: Thu, 18 Dec 2014 20:30:58 +0000 Subject: [PATCH] document power capacity units. from david higgs then change everything from mu to u, as more traditional. ok deraadt --- sys/sys/sensors.h | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/sys/sys/sensors.h b/sys/sys/sensors.h index cf7de78e509..094d644df83 100644 --- a/sys/sys/sensors.h +++ b/sys/sys/sensors.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sensors.h,v 1.33 2013/11/04 02:41:49 jsg Exp $ */ +/* $OpenBSD: sensors.h,v 1.34 2014/12/18 20:30:58 tedu Exp $ */ /* * Copyright (c) 2003, 2004 Alexander Yurchenko @@ -31,27 +31,27 @@ /* Sensor types */ enum sensor_type { - SENSOR_TEMP, /* temperature (muK) */ + SENSOR_TEMP, /* temperature (uK) */ SENSOR_FANRPM, /* fan revolution speed */ - SENSOR_VOLTS_DC, /* voltage (muV DC) */ - SENSOR_VOLTS_AC, /* voltage (muV AC) */ + SENSOR_VOLTS_DC, /* voltage (uV DC) */ + SENSOR_VOLTS_AC, /* voltage (uV AC) */ SENSOR_OHMS, /* resistance */ - SENSOR_WATTS, /* power (muW) */ - SENSOR_AMPS, /* current (muA) */ - SENSOR_WATTHOUR, /* power capacity */ - SENSOR_AMPHOUR, /* power capacity */ + SENSOR_WATTS, /* power (uW) */ + SENSOR_AMPS, /* current (uA) */ + SENSOR_WATTHOUR, /* power capacity (uWh) */ + SENSOR_AMPHOUR, /* power capacity (uAh) */ SENSOR_INDICATOR, /* boolean indicator */ SENSOR_INTEGER, /* generic integer value */ - SENSOR_PERCENT, /* percent */ - SENSOR_LUX, /* illuminance (mulx) */ + SENSOR_PERCENT, /* percent (m%) */ + SENSOR_LUX, /* illuminance (ulx) */ SENSOR_DRIVE, /* disk */ SENSOR_TIMEDELTA, /* system time error (nSec) */ SENSOR_HUMIDITY, /* humidity (m%RH) */ - SENSOR_FREQ, /* frequency (muHz) */ - SENSOR_ANGLE, /* angle (mudegrees) */ - SENSOR_DISTANCE, /* distance (muMeter) */ + SENSOR_FREQ, /* frequency (uHz) */ + SENSOR_ANGLE, /* angle (uDegrees) */ + SENSOR_DISTANCE, /* distance (uMeter) */ SENSOR_PRESSURE, /* pressure (mPa) */ - SENSOR_ACCEL, /* acceleration (mu m/s^2) */ + SENSOR_ACCEL, /* acceleration (u m/s^2) */ SENSOR_MAX_TYPES }; -- 2.20.1