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_arm/trunk/bnep_bridge/src/main.c

    r364 r374  
    5656#include "core/ntshell.h"
    5757#include "core/ntlibc.h"
    58 #include "util/ntstdio.h"
     58#include <stdio.h>
    5959#include "usrcmd.h"
    6060#include "util/ntopt.h"
     
    186186{
    187187        FILINFO fno;
    188 #if _USE_LFN
    189         char lfn[_MAX_LFN + 1];
     188#if FF_USE_LFN
     189        char lfn[FF_MAX_LFN + 1];
    190190        fno.lfname = lfn;
    191         fno.lfsize = _MAX_LFN + 1;
     191        fno.lfsize = FF_MAX_LFN + 1;
    192192#endif
    193193        ER ret;
    194194
    195 #ifdef TOPPERS_OMIT_TECS
    196         serial_opn_por(SIO_PORTID);
    197 #endif
    198         serial_ctl_por(SIO_PORTID, IOCTL_FCSND | IOCTL_FCRCV);
    199 
    200         ntshell_task_init(uart_read, uart_write, &main_obj);
     195        ntshell_task_init(SIO_PORTID);
    201196
    202197        main_obj.timer = TMO_FEVR;
Note: See TracChangeset for help on using the changeset viewer.