Unable to convert using timer.setinterval

I'm trying to use blynk to get the value from my sensor, but when i used

timer.setInterval(1000L, Show_Acc);

will occured error:invalid conversion from 'void ()(int)' to 'timer_callback {aka void ()()}' [-fpermissive]

pls help me to correct my code, thx.

void setup(){
Serial.begin(115200); // start serial for output. Make sure you set your Serial Monitor to the same!

Serial.println("\nSetup, init");
Blynk.begin(auth, ssid, pass);

timer.setInterval(1000L, Show_Acc);


Serial.println("\nStart loop");

//==============================Arduino loop function==============================//
void loop(){


void Show_Acc(int YAL210_I2C_Addr){
float X_CNT=0, Y_CNT=0, Z_CNT=0, X_G=0, Y_G=0, Z_G=0;

YAL210_acc_t rawAccel = YAL210_acc.readRawAccel(YAL210_I2C_Addr);

#ifdef calibration
// Display the results (acceleration is measured in m/s^2)
X_CNT = rawAccel.XAxis - AccOffset.XAxis;
Y_CNT = rawAccel.YAxis - AccOffset.YAxis;
Z_CNT = rawAccel.ZAxis - AccOffset.ZAxis;
X_CNT = rawAccel.XAxis;
Y_CNT = rawAccel.YAxis;
Z_CNT = rawAccel.ZAxis;

X_G = ((X_CNT / (pow(2,Resolution) / (Range * 2))) * 9.81);
Y_G = ((Y_CNT / (pow(2,Resolution) / (Range * 2))) * 9.81);
Z_G = ((Z_CNT / (pow(2,Resolution) / (Range * 2))) * 9.81);
Blynk.virtualWrite(V1, X_CNT);
Blynk.virtualWrite(V2, Y_CNT);
Blynk.virtualWrite(V3, Z_CNT);
Blynk.virtualWrite(V4, X_G);
Blynk.virtualWrite(V5, Y_G);
Blynk.virtualWrite(V6, Z_G);
Serial.print("X Axis: "); Serial.print(X_CNT);Serial.print(" counts ( ");
Serial.print(X_G); Serial.print(" m/s^2 )"); Serial.print("\t\t");

Serial.print("Y Axis: "); Serial.print(Y_CNT);Serial.print(" counts ( ");
Serial.print(Y_G); Serial.print(" m/s^2 )"); Serial.print("\t\t");

Serial.print("Z Axis: "); Serial.print(Z_CNT);Serial.print(" counts ( ");
Serial.print(Z_G); Serial.print(" m/s^2 )"); Serial.print("\t\t");

Your callback can't be a function that takes an argument. It has to be a void function that takes no arguments.

You can write a new function that takes no arguments and the only thing it does is call the function you are trying to have it call now. Then have your timer call that function and have IT call this function that it won't call now.

The offending function is Show_Acc(). I wonder why this function is called in loop() and also from the timer. The callback version at least should not take any arguments.

Also use Code Tags </> to present code, not quotes.

it works while i used other function to call it , thx for helping