Jan Breuer
2016-02-22 f23d43074f921b6a2ec45d6d6a3ea3e0be811005
FIx typo in config typedef for issue #26
2个文件已修改
8 ■■■■ 已修改文件
libscpi/inc/scpi/config.h 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
libscpi/src/units.c 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
libscpi/inc/scpi/config.h
@@ -109,8 +109,8 @@
#define USE_UNITS_ANGLE SYSTEM_TYPE
#endif
#ifndef USE_UNITS_PARICLES
#define USE_UNITS_PARICLES SYSTEM_TYPE
#ifndef USE_UNITS_PARTICLES
#define USE_UNITS_PARTICLES SYSTEM_TYPE
#endif
#ifndef USE_UNITS_DISTANCE
libscpi/src/units.c
@@ -63,7 +63,7 @@
 * units definition IEEE 488.2-1992 tab 7-1
 */
const scpi_unit_def_t scpi_units_def[] = {
#if USE_UNITS_PARICLES
#if USE_UNITS_PARTICLES
    /* Absorbet dose */
    {/* name */ "GY", /* unit */ SCPI_UNIT_GRAY, /* mult */ 1},
@@ -90,7 +90,7 @@
    /* Mass */
    {/* name */ "U", /* unit */ SCPI_UNIT_ATOMIC_MASS, /* mult */ 1},
#endif /* USE_UNITS_PARICLES */
#endif /* USE_UNITS_PARTICLES */
#if USE_UNITS_ANGLE
    /* Angle */