添加shoot_delay

This commit is contained in:
2026-03-24 00:12:38 +08:00
parent 032e964b95
commit ae90ddcce6

View File

@@ -19,7 +19,7 @@ static bool sendTarget(Serial &serial, double x, uint16_t shoot_delay) {// doubl
time_t t = time(nullptr); time_t t = time(nullptr);
if (last_time != t) { if (last_time != t) {
last_time = t; last_time = t;
cout << "Armor: fps:" << fps << ", (" << x << endl;//<< y << "," << z << ")" << endl; cout << "Armor: fps:" << fps << ", (" << x << ","<<shoot_delay << ")"<<endl;//<< y << "," << z << ")" << endl;
fps = 0; fps = 0;
} }
fps += 1; fps += 1;