ATtiny 85 to trigger Canon camera using IR LEDs and laser tripwire

Your schematic shows a transistor grounding the cathode of a diode connected directly to Vcc. Is that the yellow LED? Shouldn't there be a current limiting resistor somewhere in there?