Ken Yourek / ucmd

Dependents:   nucleo_ucmd_helloworld

Committer:
kyourek
Date:
Mon Oct 12 21:09:07 2015 +0000
Revision:
0:9e2fc73e5a12
Initial commit of the ucmd library for mbed.; https://github.com/kyourek/ucmd

Who changed what in which revision?

UserRevisionLine numberNew contents of line
kyourek 0:9e2fc73e5a12 1 #include "ucmd_internal.h"
kyourek 0:9e2fc73e5a12 2
kyourek 0:9e2fc73e5a12 3 ucArgTok *ucArgTokOwner_get_arg(ucArgTokOwner *p) {
kyourek 0:9e2fc73e5a12 4 ucTok* tok;
kyourek 0:9e2fc73e5a12 5 if (NULL == p) return NULL;
kyourek 0:9e2fc73e5a12 6
kyourek 0:9e2fc73e5a12 7 tok = ucTok_get_next((ucTok*)p);
kyourek 0:9e2fc73e5a12 8 if (ucTok_is_switch(tok)) return NULL;
kyourek 0:9e2fc73e5a12 9
kyourek 0:9e2fc73e5a12 10 return (ucArgTok*)tok;
kyourek 0:9e2fc73e5a12 11 }
kyourek 0:9e2fc73e5a12 12