DragonProbe/bsp/default/tempsensor.c

15 lines
415 B
C
Raw Normal View History

2021-06-28 23:03:02 +00:00
// vim: set et:
#include "tempsensor.h"
void tempsense_dev_init(void) { }
2021-06-28 23:03:02 +00:00
// clang-format off
// 8.4
int16_t tempsense_dev_get_temp (void) { return 0 << 4; }
int16_t tempsense_dev_get_lower(void) { return trunc_8fix4(float2fix( 0)); }
int16_t tempsense_dev_get_upper(void) { return trunc_8fix4(float2fix( 0)); }
int16_t tempsense_dev_get_crit (void) { return trunc_8fix4(float2fix( 0)); }
2021-06-28 23:03:02 +00:00
// clang-format on