summaryrefslogtreecommitdiff
path: root/apps/examples/adc
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-12-19 23:06:41 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-12-19 23:06:41 +0000
commit5fb7939d769fb3f1f84721cb0056d0cc621f05e2 (patch)
treeeadad8142fada4d8cb57c09e438d6535bbd65d53 /apps/examples/adc
parentef92b45bc404a1aaf0ab43a1603712f9bfc72311 (diff)
downloadnuttx-5fb7939d769fb3f1f84721cb0056d0cc621f05e2.tar.gz
nuttx-5fb7939d769fb3f1f84721cb0056d0cc621f05e2.tar.bz2
nuttx-5fb7939d769fb3f1f84721cb0056d0cc621f05e2.zip
Add a test for PWM drivers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4202 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/examples/adc')
-rw-r--r--apps/examples/adc/Makefile4
-rwxr-xr-xapps/examples/adc/adc.h4
-rw-r--r--apps/examples/adc/adc_main.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/apps/examples/adc/Makefile b/apps/examples/adc/Makefile
index d9b2162e9..6357dfc3d 100644
--- a/apps/examples/adc/Makefile
+++ b/apps/examples/adc/Makefile
@@ -1,8 +1,8 @@
############################################################################
-# apps/examples/touchscreen/Makefile
+# apps/examples/adc/Makefile
#
# Copyright (C) 2011 Gregory Nutt. All rights reserved.
-# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
diff --git a/apps/examples/adc/adc.h b/apps/examples/adc/adc.h
index 901f84940..214ecc6c8 100755
--- a/apps/examples/adc/adc.h
+++ b/apps/examples/adc/adc.h
@@ -1,8 +1,8 @@
/****************************************************************************
- * examples/examples/adc.h
+ * examples/examples/adc/adc.h
*
* Copyright (C) 2011 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/apps/examples/adc/adc_main.c b/apps/examples/adc/adc_main.c
index e685f862d..f0876bb60 100644
--- a/apps/examples/adc/adc_main.c
+++ b/apps/examples/adc/adc_main.c
@@ -132,10 +132,10 @@ int MAIN_NAME(int argc, char *argv[])
errval = 1;
goto errout;
}
- message(MAIN_STRING "Hardware initialized. Opening the ADC device\n");
/* Open the ADC device for reading */
+ message(MAIN_STRING "Hardware initialized. Opening the ADC device\n");
fd = open(CONFIG_EXAMPLES_ADC_DEVPATH, O_RDONLY);
if (fd < 0)
{