running = -1;
}
}
-int main (int argc, char **argv)
+int
+main(int argc, char** argv)
{
if (argc < 2) {
printf("Provide an int arg if you want to flash on something other than %d\n", DEFAULT_IOPIN);
signal(SIGINT, sig_handler);
-//! [Interesting]
+ //! [Interesting]
mraa::Gpio* gpio = new mraa::Gpio(iopin);
if (gpio == NULL) {
return MRAA_ERROR_UNSPECIFIED;
}
delete gpio;
return response;
-//! [Interesting]
+ //! [Interesting]
}