1.代码优化。
This commit is contained in:
@@ -218,7 +218,7 @@ mr_err_t mr_serial_device_add(mr_serial_t serial, const char *name, struct mr_se
|
||||
return MR_ERR_OK;
|
||||
}
|
||||
|
||||
void mr_serial_device_isr(mr_serial_t serial, mr_uint32_t event)
|
||||
void mr_serial_device_isr(mr_serial_t serial, mr_int32_t event)
|
||||
{
|
||||
MR_ASSERT(serial != MR_NULL);
|
||||
|
||||
|
||||
@@ -93,7 +93,7 @@ struct mr_serial
|
||||
};
|
||||
|
||||
mr_err_t mr_serial_device_add(mr_serial_t serial, const char *name, struct mr_serial_ops *ops, void *data);
|
||||
void mr_serial_device_isr(mr_serial_t serial, mr_uint32_t event);
|
||||
void mr_serial_device_isr(mr_serial_t serial, mr_int32_t event);
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user