restore Box() around com structure

This commit is contained in:
bunnie 2023-07-16 17:33:43 +08:00
parent 5055f1aad7
commit a9542f96de

View file

@ -347,7 +347,7 @@ fn main() -> ! {
trace!("registered with NS -- {:?}", com_sid);
// Create a new com object
let mut com = XousCom::new();
let mut com = Box::new(XousCom::new());
com.init();
let ticktimer = ticktimer_server::Ticktimer::new().unwrap();