picture1 is from datasheet ,picture2 is Schematic for 24V input and 5V output,max current is about 900mA
picture1 and picture2 all use pnp transistor,but some places is different(please see green circle).
for exemple:
1. pin1,pin8 and pin2
2. No series resistor on the outside of the pin1 in picture2
3. please help to check if schematic in picture2 is correct or not?
Thanks