Skip to content

Commit

Permalink
Merge pull request #14 from iNavFlight/jh_update_renderer_max_servo
Browse files Browse the repository at this point in the history
update renderer max servos to match modern firmware
  • Loading branch information
stronnag authored Jun 20, 2020
2 parents 8e196d0 + 7014d02 commit 0453578
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/blackbox_render.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
#define STR(x) STR_HELPER(x)

#define MAX_MOTORS 8
#define MAX_SERVOS 8
#define MAX_SERVOS 16

//Controls how fast the props spin on the video
#define MOTOR_MAX_RPS 25
Expand Down Expand Up @@ -969,7 +969,7 @@ void drawAccelerometerData(cairo_t *cr, int64_t *frame)

cairo_move_to(cr, X_POS_VALUE + 140, options.imageHeight - 8 - (extent.height + 8) * 3);
cairo_show_text(cr, "Total");

snprintf(labelBuf, sizeof(labelBuf), "%" PRId64 " mAh", frame[fieldMeta.cumulativeCurrent]);
cairo_move_to(cr, X_POS_VALUE + 220, options.imageHeight - 8 - (extent.height + 8) * 3);
cairo_show_text(cr, labelBuf);
Expand Down

0 comments on commit 0453578

Please sign in to comment.