diff --git a/Ras_sub/ras_sub.cpp b/Ras_sub/ras_sub.cpp index bef817cb28a4c149f4fe7f8b11256d8c92a2e5dd..8c4a387612223b94931ea37cc1ff8c8ef7e5a77d 100644 --- a/Ras_sub/ras_sub.cpp +++ b/Ras_sub/ras_sub.cpp @@ -77,7 +77,7 @@ int setup(); string charstoString(char word); double stringToDouble(string _str); string* StringSplit(string strTarget, string strTok); -void imCom(); +void viCom(); void bluetoothCom(); void senddata(int type, string number, string message); void gestureCom(); @@ -97,7 +97,7 @@ int main() return 0; //start process - thread t1(&imCom); + thread t1(&viCom); thread t2(&bluetoothCom); thread t3(&gestureCom); thread t4(&accCom); @@ -387,7 +387,7 @@ string* StringSplit(string strTarget, string strTok) } -void imCom() +void viCom() { //vibration to ras_sub communication while(check)