This commit is contained in:
xinyang
2019-07-24 22:56:59 +08:00
parent 1875ccd560
commit c794bd1b9d
5 changed files with 9 additions and 9 deletions

View File

@@ -87,7 +87,7 @@ void Energy::sendTarget(Serial &serial, float x, float y, uint16_t z, uint16_t u
time_t t = time(nullptr);
if (last_time != t) {
last_time = t;
cout << "fps:" << fps << ", (" << x << "," << y << "," << z << "," << u << ")" << endl;
cout << "fps:" << fps << ", (" << x << "," << y << "," << z << ")" << endl;
fps = 0;
}
fps += 1;