Appendix a, Programming watchdog timer – Lanner LEC-2110 User Manual

Page 32

Advertising
background image

32

Programming Watchdog Timer

Embedded and Industrial Computing

Appendix A

} //--sobe

#endif //>0

else {

printf(“<<<Error:

Unknown

Parameter>>>\n”);
print_usage(argv[0]);

return -1;

}

#ifdef DIRECT_IO_ACCESS
#if (defined(FreeBSD_ENV))
RESET_IOPL();
#endif
#else
close(devfd);
#endif
return 0;

}

Advertising