mirror of
https://github.com/eclipse/upm.git
synced 2025-07-03 02:11:15 +03:00
water: add C driver and example. C++ wraps C driver.
Signed-off-by: Jon Trulson <jtrulson@ics.com>
This commit is contained in:
@ -39,9 +39,9 @@ void sig_handler(int signo)
|
||||
|
||||
int main()
|
||||
{
|
||||
if (mraa_init() != MRAA_SUCCESS)
|
||||
{
|
||||
if (mraa_init() != MRAA_SUCCESS)
|
||||
perror("Failed to initialize mraa\n");
|
||||
printf("Failed to initialize mraa\n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user