inside of the brake footpeg you'll see two springs, the short one is the brake pedal return, the other a longish thin spring is the brake light switch spring. with bike ignition on pull this spring gently, Look for brake light to come on.
if yes, you'll see you can adjust it on an adjusting screw with a lock nut.
hth's