fix indentation
This commit is contained in:
parent
c2e04f379d
commit
b51450d083
20
src/main.c
20
src/main.c
@ -4,16 +4,16 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
const int digit_bitmaps[10][5][3] = {
|
const int digit_bitmaps[10][5][3] = {
|
||||||
{{1,1,1},{1,0,1},{1,0,1},{1,0,1},{1,1,1}}, // 0
|
{{1,1,1},{1,0,1},{1,0,1},{1,0,1},{1,1,1}}, // 0
|
||||||
{{0,1,0},{1,1,0},{0,1,0},{0,1,0},{1,1,1}}, // 1
|
{{0,1,0},{1,1,0},{0,1,0},{0,1,0},{1,1,1}}, // 1
|
||||||
{{1,1,1},{0,0,1},{1,1,1},{1,0,0},{1,1,1}}, // 2
|
{{1,1,1},{0,0,1},{1,1,1},{1,0,0},{1,1,1}}, // 2
|
||||||
{{1,1,1},{0,0,1},{1,1,1},{0,0,1},{1,1,1}}, // 3
|
{{1,1,1},{0,0,1},{1,1,1},{0,0,1},{1,1,1}}, // 3
|
||||||
{{1,0,1},{1,0,1},{1,1,1},{0,0,1},{0,0,1}}, // 4
|
{{1,0,1},{1,0,1},{1,1,1},{0,0,1},{0,0,1}}, // 4
|
||||||
{{1,1,1},{1,0,0},{1,1,1},{0,0,1},{1,1,1}}, // 5
|
{{1,1,1},{1,0,0},{1,1,1},{0,0,1},{1,1,1}}, // 5
|
||||||
{{1,1,1},{1,0,0},{1,1,1},{1,0,1},{1,1,1}}, // 6
|
{{1,1,1},{1,0,0},{1,1,1},{1,0,1},{1,1,1}}, // 6
|
||||||
{{1,1,1},{0,0,1},{0,1,0},{0,1,0},{0,1,0}}, // 7
|
{{1,1,1},{0,0,1},{0,1,0},{0,1,0},{0,1,0}}, // 7
|
||||||
{{1,1,1},{1,0,1},{1,1,1},{1,0,1},{1,1,1}}, // 8
|
{{1,1,1},{1,0,1},{1,1,1},{1,0,1},{1,1,1}}, // 8
|
||||||
{{1,1,1},{1,0,1},{1,1,1},{0,0,1},{1,1,1}} // 9
|
{{1,1,1},{1,0,1},{1,1,1},{0,0,1},{1,1,1}} // 9
|
||||||
};
|
};
|
||||||
|
|
||||||
void get_data(int *speed, int *power, int *bat, float *tq, int *rpm, int *eff, float *bat_temp, float *var_temp, float *mot_temp)
|
void get_data(int *speed, int *power, int *bat, float *tq, int *rpm, int *eff, float *bat_temp, float *var_temp, float *mot_temp)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user