show wifi status face on connection problems
parent
67aae19fb6
commit
af4fda37e4
@ -0,0 +1,26 @@
|
|||||||
|
#include "faceWifi.h"
|
||||||
|
#include "settings.h"
|
||||||
|
#include "display.h"
|
||||||
|
#include "faceWifi/imageSTA.h"
|
||||||
|
|
||||||
|
void setupFaceWifi()
|
||||||
|
{
|
||||||
|
// NOP
|
||||||
|
}
|
||||||
|
|
||||||
|
void loopFaceWifi()
|
||||||
|
{
|
||||||
|
// NOP
|
||||||
|
}
|
||||||
|
|
||||||
|
void showFaceWifi()
|
||||||
|
{
|
||||||
|
// init
|
||||||
|
GFXcanvas1 *canvas = displayGetCanvas();
|
||||||
|
|
||||||
|
// render
|
||||||
|
canvas->drawBitmap(0, 0, imageSTA, 640, 384, COLOR_BG, COLOR_FG);
|
||||||
|
|
||||||
|
// update screen
|
||||||
|
displayFlush();
|
||||||
|
}
|
@ -0,0 +1,8 @@
|
|||||||
|
#ifndef FACE_WIFI_H
|
||||||
|
#define FACE_WIFI_H
|
||||||
|
|
||||||
|
void setupFaceWifi();
|
||||||
|
void loopFaceWifi();
|
||||||
|
void showFaceWifi();
|
||||||
|
|
||||||
|
#endif
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue