mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-11-29 10:38:47 +08:00
improve for awtk-web
This commit is contained in:
parent
9a2b33ee11
commit
fd32a94a54
@ -82,7 +82,7 @@ def gen_res(name = 'assets', is_excluded_file_func = default_is_excluded_file_fu
|
||||
elif action == 'clean':
|
||||
common.clean_res()
|
||||
elif action == 'web':
|
||||
common.gen_res_web_c()
|
||||
common.gen_res_c()
|
||||
elif action == 'json':
|
||||
common.gen_res_json()
|
||||
elif action != 'pinyin' and action != 'res':
|
||||
|
@ -29,6 +29,12 @@
|
||||
#include "tkc/serial_helper.h"
|
||||
#include "streams/serial/iostream_serial.h"
|
||||
|
||||
#ifdef AWTK_WEB
|
||||
#define tk_iostream_serial_wait_for_data(a, b) RET_NOT_IMPL
|
||||
#define tk_iostream_serial_create(a) NULL
|
||||
#define tk_iostream_serial_config(a, b, c, d, e, f)
|
||||
#endif/*AWTK_WEB*/
|
||||
|
||||
static ret_t serial_widget_apply_props(widget_t* widget);
|
||||
|
||||
ret_t serial_widget_set_baudrate(widget_t* widget, uint32_t baudrate) {
|
||||
|
Loading…
Reference in New Issue
Block a user