mirror of
https://github.com/firewalkwithm3/Sensor-Watch.git
synced 2024-11-22 11:10:29 +08:00
movement: final list of watch faces for stock firmware
This commit is contained in:
parent
fa0a424857
commit
51e357d822
1
make.mk
1
make.mk
|
@ -161,6 +161,7 @@ SRCS += \
|
|||
$(TOP)/watch-library/simulator/watch/watch_deepsleep.c \
|
||||
$(TOP)/watch-library/simulator/watch/watch_private.c \
|
||||
$(TOP)/watch-library/simulator/watch/watch.c \
|
||||
$(TOP)/watch-library/shared/driver/thermistor_driver.c \
|
||||
$(TOP)/watch-library/shared/watch/watch_private_buzzer.c \
|
||||
$(TOP)/watch-library/shared/watch/watch_private_display.c \
|
||||
$(TOP)/watch-library/shared/watch/watch_utility.c \
|
||||
|
|
|
@ -29,8 +29,10 @@
|
|||
|
||||
const watch_face_t watch_faces[] = {
|
||||
simple_clock_face,
|
||||
beats_face,
|
||||
voltage_face,
|
||||
world_clock_face,
|
||||
sunrise_sunset_face,
|
||||
moon_phase_face,
|
||||
thermistor_readout_face,
|
||||
preferences_face,
|
||||
set_time_face,
|
||||
};
|
||||
|
|
|
@ -29,7 +29,7 @@ void watch_enable_adc(void) {}
|
|||
void watch_enable_analog_input(const uint8_t pin) {}
|
||||
|
||||
uint16_t watch_get_analog_pin_level(const uint8_t pin) {
|
||||
return 0;
|
||||
return 32767; // pretend it's half of VCC
|
||||
}
|
||||
|
||||
void watch_set_analog_num_samples(uint16_t samples) {}
|
||||
|
|
Loading…
Reference in a new issue