Ignore:
Timestamp:
Apr 5, 2019, 9:26:53 PM (5 years ago)
Author:
coas-nagasima
Message:

mbed関連を更新
シリアルドライバをmbedのHALを使うよう変更
ファイルディスクリプタの処理を更新

File:
1 edited

Legend:

Unmodified
Added
Removed
  • asp3_tinet_ecnl_rx/trunk/ntshell/src/net_misc.c

    r359 r374  
    6060#include "kernel_cfg.h"
    6161#include "tinet_cfg.h"
    62 #include "util/ntstdio.h"
    63 
    64 extern ntstdio_t ntstdio;
     62#include <stdio.h>
    6563
    6664T_DHCP4_CLI_CONTEXT *dhcp4_cli_initialize(ID tskid, ID cepid);
     
    9795
    9896        get_tid(&nc->tskid);
    99         ntstdio_printf(&ntstdio, "[NET MISC:%d,%d] started.", nc->tskid, (ID)exinf);
     97        printf("[NET MISC:%d,%d] started.", nc->tskid, (ID)exinf);
    10098
    10199        /* 初期化 */
     
    105103        ret = get_tim(&time);
    106104        if (ret != E_OK) {
    107                 ntstdio_printf(&ntstdio, "[NET MISC,%d] get_tim error: %7lu,%s",
     105                printf("[NET MISC,%d] get_tim error: %7lu,%s",
    108106                        nc->cepid, time / SYSTIM_HZ, itron_strerror(ret));
    109107                return;
     
    119117                error = tslp_tsk(timer);
    120118                if ((error != E_OK) && (error != E_TMOUT)) {
    121                         ntstdio_printf(&ntstdio, "[NET MISC,%d] tslp_tsk error: %s %d",
     119                        printf("[NET MISC,%d] tslp_tsk error: %s %d",
    122120                                nc->cepid, itron_strerror(error), timer);
    123121                        break;
     
    126124                ret = get_tim(&time);
    127125                if (ret != E_OK) {
    128                         ntstdio_printf(&ntstdio, "[NET MISC,%d] get_tim error: %s",
     126                        printf("[NET MISC,%d] get_tim error: %s",
    129127                                nc->cepid, itron_strerror(ret));
    130128                        break;
Note: See TracChangeset for help on using the changeset viewer.