.. | .. |
---|
325 | 325 | static int usb_pcwd_get_temperature(struct usb_pcwd_private *usb_pcwd, |
---|
326 | 326 | int *temperature) |
---|
327 | 327 | { |
---|
328 | | - unsigned char msb, lsb; |
---|
| 328 | + unsigned char msb = 0x00; |
---|
| 329 | + unsigned char lsb = 0x00; |
---|
329 | 330 | |
---|
330 | 331 | usb_pcwd_send_command(usb_pcwd, CMD_READ_TEMP, &msb, &lsb); |
---|
331 | 332 | |
---|
.. | .. |
---|
341 | 342 | static int usb_pcwd_get_timeleft(struct usb_pcwd_private *usb_pcwd, |
---|
342 | 343 | int *time_left) |
---|
343 | 344 | { |
---|
344 | | - unsigned char msb, lsb; |
---|
| 345 | + unsigned char msb = 0x00; |
---|
| 346 | + unsigned char lsb = 0x00; |
---|
345 | 347 | |
---|
346 | 348 | /* Read the time that's left before rebooting */ |
---|
347 | 349 | /* Note: if the board is not yet armed then we will read 0xFFFF */ |
---|