Update mmterm.c to match library changes.