Hello, my name is Pavel, and I will be supporting your case, I suggest dot use the _nop() as delay, I recommend use a timer delay to get a better performance, in all the examples you can find the DOC file and documentation about the works of this.
Web: The simplest NOP statement in C is the null statement, which is just a semi-colon in a context requiring a statement.
Best regards,
Pavel