Please note this will not work with Betaflight 3.1 or above.

I have three profiles setup in betaflight so I can switch between them on my OSD with sticks, this allows to change easily between 4s, 5s and 6s.

Profile 1 - 4S

Profile 2 - 5S

Profile 3 - 6S

 

BF Dump File 3.0.1