define MAX_FRAME_RATE in config.h