teachop / FlexCAN_Library

Arduino library for CAN on Teensy 3.1
The Unlicense
155 stars 122 forks source link

startMillis uninitialized warning #4

Closed pawelsky closed 10 years ago

pawelsky commented 10 years ago

FlexCAN\FlexCAN.cpp: In member function 'int FlexCAN::read(CAN_message_t&)': FlexCAN\FlexCAN.cpp:129:5: warning: 'startMillis' may be used uninitialized in this function [-Wmaybe-uninitialized] FlexCAN\FlexCAN.cpp: In member function 'int FlexCAN::write(const CAN_message_t&)': FlexCAN\FlexCAN.cpp:195:7: warning: 'startMillis' may be used uninitialized in this function [-Wmaybe-uninitialized]

teachop commented 10 years ago

Done. Thanks!