summaryrefslogtreecommitdiff
path: root/nuttx/configs/sam4s-xplained-pro
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-04-30 15:47:55 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-04-30 15:47:55 -0600
commit105b3699b86776e0aecc57aa69dcb6dd7f2a69a7 (patch)
tree6802c730fa4878356f012f59f318952f15ac22a8 /nuttx/configs/sam4s-xplained-pro
parent369dd7d095d1ad14ef0c6bf2e23dbef1d63913c2 (diff)
downloadnuttx-105b3699b86776e0aecc57aa69dcb6dd7f2a69a7.tar.gz
nuttx-105b3699b86776e0aecc57aa69dcb6dd7f2a69a7.tar.bz2
nuttx-105b3699b86776e0aecc57aa69dcb6dd7f2a69a7.zip
If the CPU load measurements are being driven by an external clock, then the prototype for sched_process_cpuload() must be available in include/nuttx/arch.h
Diffstat (limited to 'nuttx/configs/sam4s-xplained-pro')
-rwxr-xr-xnuttx/configs/sam4s-xplained-pro/src/sam_tc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nuttx/configs/sam4s-xplained-pro/src/sam_tc.c b/nuttx/configs/sam4s-xplained-pro/src/sam_tc.c
index fb0a1990c..c2ba12e4e 100755
--- a/nuttx/configs/sam4s-xplained-pro/src/sam_tc.c
+++ b/nuttx/configs/sam4s-xplained-pro/src/sam_tc.c
@@ -48,6 +48,7 @@
#include <stdio.h>
#include <fcntl.h>
+#include <nuttx/arch.h>
#include <nuttx/timer.h>
#include <nuttx/clock.h>
#include <nuttx/kthread.h>