Hallo!
So viel Ahnung hab ich leider auch nicht, da ich lange nicht mehr in C programmiert habe.aber vielleicht gehts ja so:
Code:
#include "asuro.h"
#include "aslib.c"
int main(void)
{
 int diff;
 Init();
 Encoder_Init();
 MotorDir(FWD,FWD);
 MotorSpeed(175,175);
 while(1){
  diff=encoder[RIGHT]-encoder[LEFT]; // diff statt div
  MotorSpeed(175+diff,175-diff);}
 }
return 0;
}
Das while (und return), dass du in der while-Schleife noch mit drin hattest, war zu viel. Da hat sich das dran aufgehängt.

MfG
julien