X-Git-Url: http://git.droids-corp.org/?p=aversive.git;a=blobdiff_plain;f=modules%2Fihm%2Fparse%2Fparse_num.h;h=fd13ee4a7c9b209a5d21e65ab6e66f8975db6ae3;hp=de10e7dd55187f9f3934da5e0573b7581ac138a4;hb=e2732473f4de080bc937fbe9f1ee6a175bfbafb3;hpb=dca9a3df0b345216fb2ebe900ff3a3d46e9a1cf0 diff --git a/modules/ihm/parse/parse_num.h b/modules/ihm/parse/parse_num.h index de10e7d..fd13ee4 100644 --- a/modules/ihm/parse/parse_num.h +++ b/modules/ihm/parse/parse_num.h @@ -24,18 +24,11 @@ struct token_num { struct token_num_data num_data; }; typedef struct token_num parse_token_num_t; -struct token_num_pgm { - struct token_hdr hdr; - struct token_num_data num_data; -} PROGMEM; -typedef struct token_num_pgm parse_pgm_token_num_t; extern struct token_ops token_num_ops; -int8_t parse_num(parse_pgm_token_hdr_t * tk, - const char * srcbuf, void * res); -int8_t get_help_num(parse_pgm_token_hdr_t * tk, - char * dstbuf, uint8_t size); +int8_t parse_num(PGM_P tk, const char * srcbuf, void * res); +int8_t get_help_num(PGM_P tk, char * dstbuf, uint8_t size); #define TOKEN_NUM_INITIALIZER(structure, field, numtype) \ { \