Skip to content

Commit

Permalink
update rtems_sysmon.c
Browse files Browse the repository at this point in the history
  • Loading branch information
Van committed Jul 30, 2023
1 parent ebc65d7 commit 2df134e
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions fsw/modules/rtems_sysmon/rtems_sysmon.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,13 @@
#include <rtems/cpuuse.h>
#include <rtems/score/threadimpl.h>
#include <rtems/rtems/tasks.h>
#include <rtems/confdefs.h>


/********************************************************************
* Local Defines
********************************************************************/
#ifdef _CONFIGURE_MAXIMUM_PROCESSORS
#define RTEMS_SYSMON_MAX_CPUS _CONFIGURE_MAXIMUM_PROCESSORS
#else
#ifdef OS_MAXIMUM_PROCESSORS
#define RTEMS_SYSMON_MAX_CPUS OS_MAXIMUM_PROCESSORS
#else
#define RTEMS_SYSMON_MAX_CPUS 1
#endif

Expand Down

0 comments on commit 2df134e

Please sign in to comment.