silence warnings
This commit is contained in:
@@ -233,7 +233,7 @@ static void display(kitchen_conversions_state_t *state, uint8_t subsec)
|
||||
case input:
|
||||
{
|
||||
char buf[7];
|
||||
sprintf(buf, "%06u", state->selection_value);
|
||||
sprintf(buf, "%06lu", state->selection_value);
|
||||
watch_display_text(WATCH_POSITION_BOTTOM, buf);
|
||||
|
||||
// Only allow ints for Gas Mk
|
||||
@@ -278,7 +278,7 @@ static void display(kitchen_conversions_state_t *state, uint8_t subsec)
|
||||
{
|
||||
uint32_t rounded = conversion + .5;
|
||||
char buf[7];
|
||||
sprintf(buf, "%6u", rounded);
|
||||
sprintf(buf, "%6lu", rounded);
|
||||
watch_display_text(WATCH_POSITION_BOTTOM, buf);
|
||||
|
||||
// Make sure LSDs always filled
|
||||
|
||||
@@ -33,8 +33,6 @@
|
||||
#include <string.h>
|
||||
#include "tarot_face.h"
|
||||
|
||||
uint32_t arc4random_uniform(uint32_t upper_bound);
|
||||
|
||||
#define TAROT_ANIMATION_TICK_FREQUENCY 8
|
||||
#define FLIPPED_BIT_POS 7
|
||||
#define FLIPPED_MASK ((uint8_t)(1 << FLIPPED_BIT_POS))
|
||||
|
||||
Reference in New Issue
Block a user