Displaying 1 result from an estimated 1 matches for "w_msg".
Did you mean:
e_msg
2010 Jan 12
1
Tripplite_usb
...c. This modified
code checks which protocol the UPS is using and then resets the watchdog
if it is not SMARTPRO protocol.
======================================================================
Tripplite_usb.c
977,987d977
< /* Reset watchdog: */
< ret = send_cmd(w_msg, sizeof(w_msg), w_value,
sizeof(w_value)-1);
< if(ret <= 0) {
< if(ret == -EPIPE) {
< fatalx(EXIT_FAILURE,
"Could not reset watchdog. Please check and"
<...