File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717bool LSS::hardwareSerial;
1818Stream * LSS::bus;
1919LSS_LastCommStatus LSS::lastCommStatus = LSS_CommStatus_Idle;
20- long LSS::_msg_char_timeout = LSS_Timeout;
20+ uint32_t LSS::_msg_char_timeout = LSS_Timeout;
2121
2222// > Command reading/writing
2323volatile unsigned int LSS::readID; // sscanf - assumes this
@@ -46,7 +46,7 @@ LSS::~LSS(void)
4646
4747// -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----
4848// Public functions (class) ---- ---- ---- ---- ---- ---- ---- ---- ---- ----
49- void LSS::setReadTimeouts (long start_response_timeout, long msg_char_timeout)
49+ void LSS::setReadTimeouts (uint32_t start_response_timeout, uint32_t msg_char_timeout)
5050{
5151 _msg_char_timeout = msg_char_timeout;
5252 bus->setTimeout (start_response_timeout);
@@ -1027,7 +1027,7 @@ bool LSS::getIsMotionControlEnabled(void)
10271027 return (value);
10281028}
10291029
1030- int16_t LSS::getFilterPositionCount (LSS_QueryType queryType = LSS_QuerySession ) {
1030+ int16_t LSS::getFilterPositionCount (LSS_QueryType queryType) {
10311031 // Variables
10321032 int16_t value = 0 ;
10331033
Original file line number Diff line number Diff line change @@ -240,7 +240,7 @@ class LSS
240240{
241241public:
242242 // Public functions - Class
243- static void setReadTimeouts (long start_response_timeout=LSS_Timeout, long msg_char_timeout=LSS_Timeout);
243+ static void setReadTimeouts (uint32_t start_response_timeout=LSS_Timeout, uint32_t msg_char_timeout=LSS_Timeout);
244244 static int timedRead (void );
245245 bool charToInt (char * inputstr, int32_t * intnum);
246246 // static void initBus(Stream &, uint32_t);
@@ -346,7 +346,7 @@ class LSS
346346 static LSS_LastCommStatus lastCommStatus;
347347 static volatile unsigned int readID;
348348 static char value[24 ];
349- static long _msg_char_timeout; // timeout waiting for characters inside of packet
349+ static uint32_t _msg_char_timeout; // timeout waiting for characters inside of packet
350350 // Private functions - Instance
351351
352352 // Private attributes - Instance
You can’t perform that action at this time.
0 commit comments