Update attenuator.c