mirror of
https://github.com/openharmony/vendor_bestechnic.git
synced 2026-07-01 20:34:35 -04:00
!263 FIX: 恢复HalGetSerial接口
Merge pull request !263 from cheng_jinsong/1114
This commit is contained in:
@@ -15,6 +15,13 @@
|
||||
|
||||
#include "hal_sys_param.h"
|
||||
|
||||
static const char OHOS_SERIAL[] = {"1234567890"}; // if not provid serial algorithm,Serial will use this default value.
|
||||
|
||||
const char *HalGetSerial(void)
|
||||
{
|
||||
return OHOS_SERIAL;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief implement for js kvstorekit/filekit
|
||||
*/
|
||||
|
||||
@@ -15,6 +15,13 @@
|
||||
|
||||
#include "hal_sys_param.h"
|
||||
|
||||
static const char OHOS_SERIAL[] = {"1234567890"}; // if not provid serial algorithm,Serial will use this default value.
|
||||
|
||||
const char *HalGetSerial(void)
|
||||
{
|
||||
return OHOS_SERIAL;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief implement for js kvstorekit/filekit
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user