У тебя слишком много вопросов по поводу switch ....
On Feb 14, 2014 11:06 AM, "Yurii Litvinov" <notifications@github.com> wrote:

> In trikControl/src/brick.cpp:
>
> > @@ -160,6 +160,21 @@ void Brick::stop()
> >  	mDisplay.hide();
> >  }
> >
> > +Motor *Brick::motor(Motor::Type type, const QString &port)
> > +{
> > +	switch (type) {
> > +		case Motor::powerMotor: {
> > +			return mPowerMotors[port];
> > +		}
> > +		case Motor::servoMotor: {
> > +			return mServoMotors[port];
> > +		}
> > +		default: {
>
> ????? ?????????? ?? ??????? ?????????????? ? ???, ??? ???????? ????? ??
> ??????????? ? switch-? --- ??, ????? ?????????? ?????? ???????? ? ????
> ????????? ? ????????????????? ????? (????? ? default ???? ???????
> ??????????, ?????? ? stderr ??? ?????? ?????? ???-?? ???????). ????????????
> ??????? gcc ???? ???????? ??????????????, ?????? ????????, default
> "???????????" ?????????? ? ?? ?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/trikset/trikRuntime/pull/24/files#r9740748>
> .
>