Skip to content

Commit

Permalink
nuttx: Remove unnecessary include in ADC module (jerryscript-project#…
Browse files Browse the repository at this point in the history
…1867)

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
Forwarded: jerryscript-project#1867
IoT.js-DCO-1.0-Signed-off-by: Philippe Coval p.coval@samsung.com
  • Loading branch information
rzr authored and yichoi committed Apr 26, 2019
1 parent ac84645 commit b31e0ac
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 b31e0ac

Please sign in to comment.