Explorar el Código

fix: build error

Signed-off-by: huhui <huhui@sharkgulf.com>
huhui hace 4 años
padre
commit
4b4ddcb3c9
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Application/app/sox/soc.c

+ 1 - 1
Application/app/sox/soc.c

@@ -236,7 +236,7 @@ static __inline__ float _delta_time(void){
 
 static __inline__ int can_modify_min_cap(void){
 	if (force_full_ts == 0) {
-		return;
+		return 0;
 	}
 	if (shark_get_seconds() > force_full_ts){
 		if ((shark_get_seconds() - force_full_ts) > MAX_TIME_FULL_TO_EMPTY) {