do not define SWR_CH_MAX again if already defined
fix recursively delete paint device