Changeset 0ddffb76 in rtems


Ignore:
Timestamp:
Oct 24, 2017, 8:31:05 AM (2 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
e3ef14b
Parents:
34799c3b
git-author:
Sebastian Huber <sebastian.huber@…> (10/24/17 08:31:05)
git-committer:
Sebastian Huber <sebastian.huber@…> (10/25/17 05:26:41)
Message:

confdefs: CONFIGURE_MICROSECONDS_PER_TICK

Reject non-positive CONFIGURE_MICROSECONDS_PER_TICK values.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/sapi/include/confdefs.h

    r34799c3b r0ddffb76  
    22922292  #endif
    22932293
     2294  #if CONFIGURE_MICROSECONDS_PER_TICK <= 0
     2295    #error "The CONFIGURE_MICROSECONDS_PER_TICK must be positive"
     2296  #endif
     2297
    22942298  #define _CONFIGURE_TICKS_PER_SECOND (1000000 / CONFIGURE_MICROSECONDS_PER_TICK)
    22952299
Note: See TracChangeset for help on using the changeset viewer.