mirror of
https://gitlab.fdmci.hva.nl/technische-informatica-sm3/ti-projectten/rooziinuubii79.git
synced 2025-08-03 11:55:00 +00:00
changed portname to const char
This commit is contained in:
@@ -238,7 +238,7 @@ void CKobuki::setSound(int noteinHz, int duration) {
|
||||
pocet = write(HCom, &message, 9);
|
||||
}
|
||||
|
||||
void CKobuki::startCommunication(char *portname, bool CommandsEnabled,
|
||||
void CKobuki::startCommunication(const char *portname, bool CommandsEnabled,
|
||||
void *userDataL) {
|
||||
if(connect(portname) != -1){
|
||||
enableCommands(CommandsEnabled);
|
||||
|
Reference in New Issue
Block a user