mirror of
				https://github.com/thelsing/knx.git
				synced 2025-10-26 10:26:25 +01:00 
			
		
		
		
	initialize data to zero when creating a groupobject
This commit is contained in:
		
							parent
							
								
									dfec99ea3a
								
							
						
					
					
						commit
						3a916905d6
					
				@ -124,6 +124,7 @@ bool GroupObjectTableObject::initGroupObjects()
 | 
			
		||||
        
 | 
			
		||||
        go._dataLength = go.goSize();
 | 
			
		||||
        go._data = new uint8_t[go._dataLength];
 | 
			
		||||
        memset(go._data, 0, go._dataLength);
 | 
			
		||||
        
 | 
			
		||||
        if (go.valueReadOnInit())
 | 
			
		||||
            go.requestObjectRead();
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user