File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -165,7 +165,7 @@ void VictronComponent::loop() {
165165      if  (c == ' \r ' ' \n ' 
166166        //  a hex frame ends with '\n' and has its own checksum; prepare to receive another text frame
167167        state_ = 0 ;
168-         checksum_ = 0 ;   
168+         checksum_ = 0 ;
169169      }
170170    }
171171  }
@@ -747,11 +747,11 @@ void VictronComponent::publish_frame_() {
747747    return ;
748748  }
749749  this ->last_publish_  = now;
750-    
751-   size_t  last = 0 ;  
752-   size_t  next = 0 ;  
750+ 
751+   size_t  last = 0 ;
752+   size_t  next = 0 ;
753753  while  ((next = frame_buffer_.find (" \r\n " 
754-     std::string item = frame_buffer_.substr (last, next- last);
754+     std::string item = frame_buffer_.substr (last, next -  last);
755755    last = next + 2 ;
756756    if  (item.size () == 0 ) {
757757      continue ;
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments