Update sweep2wake.c