Compilation error: ‘ledcSetup’ and 'ledcAttachPin' was not declared in this scope please help me

This was reported some time ago by another user. Im not sure if Sunfounder fixed it or not.

This was the original suggestion if it helps?

I assume by now it is fixed, but just in case!