@Eawo If you look at the excellent original post from @mfalkvidd above:
The 3.3V power on the Raspberry Pi is rated for a maximum of 50mA. A regular NRF24L01+ only needs 15mA, but if you are using a power amplified version you might exceed what the Raspberry Pi can output. In that case, an external power supply might be required.
I don't believe that you will need to make any changes to code.