bitbang: Convert logging to AVR_LOG()
[simavr] / simavr / cores / sim_tiny25.c
index 5c32576..71a962f 100644 (file)
 #define _AVR_IO_H_
 #define __ASSEMBLER__
 #include "avr/iotn25.h"
-// instanciate the new core
+// instantiate the new core
 #include "sim_tinyx5.h"
 
 static avr_t * make()
 {
-       return &SIM_CORENAME.core;
+       return avr_core_allocate(&SIM_CORENAME.core, sizeof(struct mcu_t));
 }
 
 avr_kind_t tiny25 = {