feature (drivers API): implemented 'nx_drv_log'
This commit is contained in:
parent
2902215904
commit
e69065f889
|
@ -23,4 +23,8 @@ void nx_drv_fs_config(driver_config_fs_T* config) {
|
||||||
if (driver == NULL) return;
|
if (driver == NULL) return;
|
||||||
|
|
||||||
driver_init(driver, DRIVER_TRANSPORT_FS, (conf_U)config);
|
driver_init(driver, DRIVER_TRANSPORT_FS, (conf_U)config);
|
||||||
|
}
|
||||||
|
|
||||||
|
void nx_drv_log(string_t string) {
|
||||||
|
log(LOG_INFO, "DRIVER -> %s", string);
|
||||||
}
|
}
|
Loading…
Reference in New Issue