examples/java: input pin number should be parsed in base 10, not in base 8, similar to c++ sample
Signed-off-by: Eugene Smirnov <o1o2o3o4o5@gmail.com> Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
@@ -50,7 +50,7 @@ public class BlinkIO {
|
||||
if (argv.length == 0) {
|
||||
System.out.println("Provide an int arg if you want to flash on something other than " + DEFAULT_IOPIN);
|
||||
} else {
|
||||
iopin = Integer.valueOf(argv[0], DEFAULT_IOPIN);
|
||||
iopin = Integer.valueOf(argv[0]);
|
||||
}
|
||||
|
||||
//! [Interesting]
|
||||
|
||||
Reference in New Issue
Block a user