fixed state enum
Merge branch 'master' of github.com:fedyaFade/arduino4EiT
switching states