修改参数类型

N938
Matthew 6 months ago
parent bca5c93430
commit 70f6f69fc3

@ -3413,7 +3413,7 @@ int Gm_SetCameraSerialPortParam(int fd, unsigned int baud)
return ret;
}
int Gm_OpenCameraSerial(SIO_PARAM_SERIAL_DEF *pPortParam, char *serfile, unsigned int baud)
int Gm_OpenCameraSerial(SIO_PARAM_SERIAL_DEF *pPortParam, const char *serfile, unsigned int baud)
{
int fd = -1;
char szbuf[512];
@ -3653,7 +3653,7 @@ int GM_CameraSerialTimer(SIO_PARAM_SERIAL_DEF *pPortParam)
#if 1
// 启动使用串口拍照
int GM_StartSerialCameraPhoto(int phototime, unsigned char channel, int cmdidx, unsigned char bImageSize, unsigned char presetno, char *serfile, unsigned int baud, int addr)
int GM_StartSerialCameraPhoto(int phototime, unsigned char channel, int cmdidx, unsigned char bImageSize, unsigned char presetno, const char *serfile, unsigned int baud, int addr)
{
int flag = 0;
char szbuf[128], logbuf[128];

Loading…
Cancel
Save