write default values for configuration to LED1642GW
This commit is contained in:
		@@ -187,6 +187,7 @@ void led1642gw_init(void)
 | 
				
			|||||||
  DDR_LE |= (1<<PIN_LE);
 | 
					  DDR_LE |= (1<<PIN_LE);
 | 
				
			||||||
  memset(ledbuffer, 0x00, sizeof(ledbuffer));
 | 
					  memset(ledbuffer, 0x00, sizeof(ledbuffer));
 | 
				
			||||||
  memset(config_reg, 0x00, sizeof(config_reg));
 | 
					  memset(config_reg, 0x00, sizeof(config_reg));
 | 
				
			||||||
 | 
					  led1642gw_flush_config();
 | 
				
			||||||
  led1642gw_flush();
 | 
					  led1642gw_flush();
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user