Eliminate some new warnings reported in build testing.
This commit is contained in:
parent
3cc79be2fb
commit
f0b4f14396
@ -46,39 +46,7 @@
|
|||||||
* Public Data
|
* Public Data
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
static uint8_t nuttxlogo[] =
|
static uint8_t g_battery [] =
|
||||||
{
|
|
||||||
0x00, 0x00, 0x03, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x06, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x0d, 0xf0,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x1b, 0xf8, 0x00, 0x00, 0x00, 0x00, 0x37, 0xf8, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x6f, 0xfe, 0x01, 0xc0, 0x03, 0xc0, 0xdc, 0x7f, 0x02, 0x20, 0x04, 0x21, 0xb8, 0x3f, 0x06, 0x10,
|
|
||||||
0x04, 0x13, 0x78, 0x3f, 0xcc, 0x10, 0x04, 0x1e, 0xf8, 0x1f, 0xe8, 0x10, 0x04, 0x0d, 0xf8, 0x1f,
|
|
||||||
0xf0, 0x20, 0x04, 0x0f, 0xf8, 0x0f, 0xf0, 0x20, 0x04, 0x07, 0xf8, 0x0f, 0xe0, 0x40, 0x04, 0x07,
|
|
||||||
0xf8, 0x07, 0xc0, 0x40, 0x04, 0x03, 0xf8, 0x07, 0xc0, 0x80, 0x04, 0x03, 0xf8, 0x03, 0x81, 0x00,
|
|
||||||
0x04, 0x01, 0xf8, 0x03, 0x83, 0x80, 0x04, 0x01, 0xf8, 0x01, 0x03, 0xc0, 0x0c, 0x00, 0xf8, 0x01,
|
|
||||||
0x07, 0xe0, 0x1c, 0x00, 0xf8, 0x00, 0x07, 0xf0, 0x34, 0x00, 0x78, 0x20, 0x0f, 0xf8, 0x6c, 0x00,
|
|
||||||
0x78, 0x20, 0x0f, 0xfc, 0xdc, 0x10, 0x38, 0x30, 0x1f, 0xfe, 0xbc, 0x10, 0x38, 0x30, 0x1f, 0xff,
|
|
||||||
0xfc, 0x18, 0x18, 0x30, 0x3f, 0xff, 0xfc, 0x18, 0x18, 0x30, 0x1f, 0xfd, 0x3c, 0x1c, 0x08, 0x20,
|
|
||||||
0x1f, 0xfb, 0x3c, 0x1c, 0x08, 0x20, 0x0f, 0xf6, 0x1c, 0x1e, 0x00, 0x00, 0x0f, 0xec, 0x04, 0x1e,
|
|
||||||
0x00, 0x00, 0x07, 0xd8, 0x04, 0x1f, 0x00, 0x01, 0x07, 0xb0, 0x04, 0x1f, 0x00, 0x01, 0x03, 0x60,
|
|
||||||
0x04, 0x1f, 0x80, 0x03, 0x82, 0xc0, 0x04, 0x1f, 0x80, 0x07, 0x81, 0x80, 0x04, 0x1f, 0xc0, 0x07,
|
|
||||||
0xc0, 0x80, 0x04, 0x1f, 0xc0, 0x07, 0xe0, 0x40, 0x04, 0x1f, 0xe0, 0x0f, 0xc0, 0x40, 0x04, 0x1f,
|
|
||||||
0xe0, 0x0f, 0xb0, 0x20, 0x04, 0x13, 0xf0, 0x1f, 0x68, 0x10, 0x04, 0x13, 0xf0, 0x3e, 0xcc, 0x10,
|
|
||||||
0x04, 0x11, 0xf8, 0x3d, 0x82, 0x10, 0x02, 0x20, 0x78, 0x3b, 0x02, 0x20, 0x01, 0xc0, 0x7e, 0xf6,
|
|
||||||
0x01, 0xc0, 0x00, 0x00, 0x3f, 0xec, 0x00, 0x00, 0x00, 0x00, 0x0f, 0xd8, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x0f, 0xb0, 0x00, 0x00, 0x00, 0x00, 0x07, 0x60, 0x00, 0x00, 0x00, 0x00, 0x01, 0xc0, 0x00, 0x00
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
static uint8_t demo[] =
|
|
||||||
{
|
|
||||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xe0, 0x00, 0x03, 0xf0, 0x00, 0x03, 0xf8, 0x00, 0x03, 0xfc,
|
|
||||||
0x00, 0x03, 0xfe, 0x00, 0x03, 0xfe, 0x00, 0x03, 0xff, 0x00, 0x03, 0xff, 0x80, 0x03, 0xff, 0xc0,
|
|
||||||
0x03, 0xff, 0xff, 0xff, 0xff, 0xc0, 0x03, 0xff, 0x80, 0x03, 0xff, 0x80, 0x03, 0xff, 0x00, 0x03,
|
|
||||||
0xfe, 0x00, 0x03, 0xfc, 0x00, 0x03, 0xf8, 0x00, 0x03, 0xf8, 0x00, 0x03, 0xf0, 0x00, 0x03, 0xe0,
|
|
||||||
0x00, 0x03, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff
|
|
||||||
};
|
|
||||||
|
|
||||||
static uint8_t battery [] =
|
|
||||||
{
|
{
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0f, 0xff, 0xfc, 0x10, 0x00, 0x04, 0x37, 0x77,
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0f, 0xff, 0xfc, 0x10, 0x00, 0x04, 0x37, 0x77,
|
||||||
|
@ -493,7 +493,7 @@ static void nxdemo_demo_4(NXWINDOW hwnd)
|
|||||||
origin.x = 0;
|
origin.x = 0;
|
||||||
origin.y = 0;
|
origin.y = 0;
|
||||||
|
|
||||||
src[0] = (FAR const void *)battery;
|
src[0] = (FAR const void *)g_battery;
|
||||||
|
|
||||||
ret = nx_bitmap((NXWINDOW)hwnd,
|
ret = nx_bitmap((NXWINDOW)hwnd,
|
||||||
&rect,
|
&rect,
|
||||||
|
@ -211,7 +211,6 @@ int main(int argc, FAR char *argv[])
|
|||||||
int nxdemo_main(int argc, char *argv[])
|
int nxdemo_main(int argc, char *argv[])
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
nxgl_mxpixel_t color;
|
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
/* Initialize NX */
|
/* Initialize NX */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user