コード例 #1
0
ファイル: bcr.c プロジェクト: ericzhc/pdale
/******************************************************
  Disable bar code reader
*******************************************************/
void BCR_Disable()
{
	COM_BUFF_INFO RxBuff = GetTaskRxComBuff();

	OSTaskSuspend(TASK_BCR_PRIO);
    *(RxBuff.ptrCurrent) = *(RxBuff.ptrEnd);
	GPS_Enable();
}
コード例 #2
0
ファイル: gps.c プロジェクト: EPLab/PipeTect-Roocas
void GPS_Initialize(void)
{
	GPS_Enable();
    
    GPS_Reset();
}