bigger?
This commit is contained in:
		
							parent
							
								
									8f67174500
								
							
						
					
					
						commit
						6d503a1e62
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -5,7 +5,7 @@ use std::time::Duration;
 | 
			
		|||
 | 
			
		||||
// Constants from the C code
 | 
			
		||||
const QUEUE_LEN: usize = 1000;
 | 
			
		||||
const MSG_PAYLOAD_SIZE: usize = 7 * 160;
 | 
			
		||||
const MSG_PAYLOAD_SIZE: usize = 7 * 211;
 | 
			
		||||
const MSGSIZE: usize = 2 + MSG_PAYLOAD_SIZE;
 | 
			
		||||
 | 
			
		||||
const DISPLAY_HOST: &str = "100.65.0.2";
 | 
			
		||||
| 
						 | 
				
			
			@ -255,7 +255,7 @@ impl Display {
 | 
			
		|||
        buf[6] = b;
 | 
			
		||||
 | 
			
		||||
        self.pos_in_buf += 1;
 | 
			
		||||
        if self.pos_in_buf == 160 {
 | 
			
		||||
        if self.pos_in_buf == 211 {
 | 
			
		||||
            self.flush_frame();
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue