Browse Source
			
			
			Fix MI overnight behaviour
			
				will now calculate AC values after midnight reset of state array
			
			
				pull/1626/head
			
			
		 
		
			
				
					
						 rejoe2
					
					1 year ago
						rejoe2
					
					1 year ago
					
						
							committed by
							
								 GitHub
								GitHub
							
						 
					
				 
				
			 
		 
		
			
				
					
					No known key found for this signature in database
					
						
							GPG Key ID: B5690EEEBB952194
						
					
				
			
		
		
		
	
		
			
				 1 changed files with 
1 additions and 
1 deletions
			 
			
		 
		
			
				- 
					
					
					 
					src/hm/Communication.h
				
				
				
					
						
							
								
									
	
		
			
				
					|  |  | @ -895,7 +895,7 @@ class Communication : public CommQueue<> { | 
			
		
	
		
			
				
					|  |  |  |             uint8_t oldState = rec->record[q->iv->getPosByChFld(0, FLD_EVT, rec)]; | 
			
		
	
		
			
				
					|  |  |  |             if ( prntsts != oldState ) { // sth.'s changed?
 | 
			
		
	
		
			
				
					|  |  |  |                 stsok = false; | 
			
		
	
		
			
				
					|  |  |  |                 if(!oldState) {          // initial zero value? => just write this channel to main state and raise changed flags
 | 
			
		
	
		
			
				
					|  |  |  |                 if( (!oldState) || (!q->iv->alarmCnt) ) {          // initial zero value? => just write this channel to main state and raise changed flags
 | 
			
		
	
		
			
				
					|  |  |  |                     changedStatus = true; | 
			
		
	
		
			
				
					|  |  |  |                     q->iv->alarmCnt = 1; // minimum...
 | 
			
		
	
		
			
				
					|  |  |  |                 } else { | 
			
		
	
	
		
			
				
					|  |  | 
 |