fix missing prototype warnings
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
// Pressing the alarm button enters the log mode, where the main display shows the number of interrupts detected in each of the last
|
||||
// 24 hours (the hour is shown in the top right digit and AM/PM indicator, if the clock is set to 12 hour mode)
|
||||
|
||||
void _lis2dh_logging_face_log_data(lis2dh_logger_state_t *logger_state) {
|
||||
static void _lis2dh_logging_face_log_data(lis2dh_logger_state_t *logger_state) {
|
||||
watch_date_time date_time = watch_rtc_get_date_time();
|
||||
date_time.unit.hour = (date_time.unit.hour + 23) % 24; // log this as the number of events in the previous hour
|
||||
size_t pos = logger_state->data_points % LIS2DH_LOGGING_NUM_DATA_POINTS;
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#include "voltage_face.h"
|
||||
#include "watch.h"
|
||||
|
||||
void _voltage_face_update_display() {
|
||||
static void _voltage_face_update_display(void) {
|
||||
char buf[14];
|
||||
float voltage = (float)watch_get_vcc_voltage() / 1000.0;
|
||||
sprintf(buf, "BA %4.2f V", voltage);
|
||||
|
||||
Reference in New Issue
Block a user