Skip to content

Commit

Permalink
nuttx: Remove unnecessary include in ADC module
Browse files Browse the repository at this point in the history
Currently that platform header defines only one function:
"iotjs_stm32f4dis_pin_initialize".

It's platform specific and called elsewhere:
./src/modules/iotjs_module_stm32f4dis.c

So it's safe to remove this probable leftover
to support more boards (STMF7 ones to come).

Change-Id: If22dbf1797fec20161203661b044845f55d2e378
Relate-to: rzr/webthing-iotjs#3
IoT.js-DCO-1.0-Signed-off-by: Philippe Coval p.coval@samsung.com
  • Loading branch information
rzr committed Apr 25, 2019
1 parent b3a150e commit 5adaa24
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/modules/nuttx/iotjs_module_adc-nuttx.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
#include "iotjs_def.h"
#include "iotjs_systemio-nuttx.h"
#include "modules/iotjs_module_adc.h"
#include "modules/iotjs_module_stm32f4dis.h"

#define ADC_DEVICE_PATH_FORMAT "/dev/adc%d"
#define ADC_DEVICE_PATH_BUFFER_SIZE 12
Expand Down

0 comments on commit 5adaa24

Please sign in to comment.