I think you forgot a star-of-comment marker:
/* <======= here ?
// Left motor pin config
int speedL = 3;
int brkL = 9;
int dirL = 12;
// Right motor pin config
int speedR = 11;
int brkR = 8;
int dirR = 13;
*/
I think you forgot a star-of-comment marker:
/* <======= here ?
// Left motor pin config
int speedL = 3;
int brkL = 9;
int dirL = 12;
// Right motor pin config
int speedR = 11;
int brkR = 8;
int dirR = 13;
*/