Revision 40d4810c
| os/core/src/aos_iostream.c | ||
|---|---|---|
| 132 | 132 |
static msg_t _channelctl(void *instance, unsigned int operation, void *arg) |
| 133 | 133 |
{
|
| 134 | 134 |
if (((AosIOChannel*)instance)->flags & AOS_IOCHANNEL_OUTPUT_ENABLE) {
|
| 135 |
return chnControl(((AosIOChannel*)instance)->asyncchannel, operation, arg));
|
|
| 135 |
return chnControl(((AosIOChannel*)instance)->asyncchannel, operation, arg); |
|
| 136 | 136 |
} else {
|
| 137 | 137 |
return MSG_OK; |
| 138 | 138 |
} |
| periphery-lld/periphAL.h | ||
|---|---|---|
| 587 | 587 |
} |
| 588 | 588 |
#endif |
| 589 | 589 |
|
| 590 |
#define apalDbgPrintf(fmt, ...) chprintf((BaseSequentialStream*)&aos.iostream, fmt, ##__VA_ARGS__) |
|
| 591 |
|
|
| 592 | 590 |
#endif /* _AMIROOS_PERIPHAL_H_ */ |
Also available in: Unified diff