Power: bq25896 and bq27220 drivers, portable power api. (#224)
* Power: add portability layer, port to F3. * F3: bq25896 driver stab * GUI: new primary and secondary fonts * F3: bq25896 register map, basic functions * F3: move bq27220 command descritpion to separate file. Code format. * Power: OTG enable/disable * Power: choose more correct profile * F3: pet bq25896 watchdog sometimes
This commit is contained in:
@@ -120,9 +120,9 @@ void canvas_font_set(CanvasApi* api, Font font) {
|
||||
Canvas* canvas = (Canvas*)api;
|
||||
u8g2_SetFontMode(&canvas->fb, 1);
|
||||
if(font == FontPrimary) {
|
||||
u8g2_SetFont(&canvas->fb, u8g2_font_Born2bSportyV2_tr);
|
||||
u8g2_SetFont(&canvas->fb, u8g2_font_helvB08_tf);
|
||||
} else if(font == FontSecondary) {
|
||||
u8g2_SetFont(&canvas->fb, u8g2_font_HelvetiPixel_tr);
|
||||
u8g2_SetFont(&canvas->fb, u8g2_font_haxrcorp4089_tr);
|
||||
} else {
|
||||
furi_check(0);
|
||||
}
|
||||
|
Reference in New Issue
Block a user