mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-16 22:38:41 +08:00
Add a test for PWM drivers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4202 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user