Ignore:
Timestamp:
Apr 27, 2018, 2:26:14 PM (5 years ago)
Author:
coas-nagasima
Message:

syscallが関数呼びになるよう変更
他更新

File:
1 edited

Legend:

Unmodified
Added
Removed
  • asp3_tinet_ecnl_rx/trunk/app2_light/src/echonet_main.c

    r340 r342  
    5050#include "echonet_main.h"
    5151#include "echonet_cfg.h"
    52 #include "rx630.h"
     52#include "target_kernel_impl.h"
    5353
    5454/* TODO: メーカーコードを設定 */
     
    490490        main_btn1_state = (btn1 & 0x80/*0x0x20*/) != 0;
    491491        main_btn2_state = (btn2 & 0x80) != 0;
     492
     493        ER ret = act_tsk(MAIN_TASK);
     494        if (ret != E_OK) {
     495                syslog(LOG_ERROR, "act_tsk");
     496        }
    492497}
    493498
Note: See TracChangeset for help on using the changeset viewer.