Revision dd8738ea os/core/src/main.c

View differences:

os/core/src/main.c
177 177
  aosIOChannelOutputEnable(&_stdiochannel);
178 178
  aosIOStreamAddChannel(&aos.iostream, &_stdiochannel);
179 179
#if (AMIROOS_CFG_SHELL_ENABLE == true)
180
  aosShellChannelInit(&_stdshellchannel, &_stdiochannel);
180
  aosShellChannelInit(&_stdshellchannel, (BaseAsynchronousChannel*)&MODULE_HAL_PROGIF);
181 181
  aosShellChannelInputEnable(&_stdshellchannel);
182 182
  aosShellChannelOutputEnable(&_stdshellchannel);
183 183
  aosShellStreamAddChannel(&aos.shell->stream, &_stdshellchannel);

Also available in: Unified diff