Skip to content

Commit

Permalink
FIx typo in config typedef for issue #26
Browse files Browse the repository at this point in the history
  • Loading branch information
j123b567 committed Feb 22, 2016
1 parent e7d3092 commit f23d430
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions libscpi/inc/scpi/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ extern "C" {
#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
Expand Down
4 changes: 2 additions & 2 deletions libscpi/src/units.c
Original file line number Diff line number Diff line change
Expand Up @@ -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},

Expand All @@ -90,7 +90,7 @@ const scpi_unit_def_t scpi_units_def[] = {

/* Mass */
{/* name */ "U", /* unit */ SCPI_UNIT_ATOMIC_MASS, /* mult */ 1},
#endif /* USE_UNITS_PARICLES */
#endif /* USE_UNITS_PARTICLES */

#if USE_UNITS_ANGLE
/* Angle */
Expand Down

0 comments on commit f23d430

Please sign in to comment.