modules: adjust for ianos changes
This commit is contained in:
@@ -6,13 +6,13 @@
|
||||
#include <module.h>
|
||||
#include <gfx_utils.h>
|
||||
|
||||
void mod_entry(void *moduleConfig, bdkParams_t bp)
|
||||
void mod_entry(void *moduleConfig, bdk_params_t *bp)
|
||||
{
|
||||
memcpy(&gfx_con, bp->gfxCon, sizeof(gfx_con_t));
|
||||
memcpy(&gfx_ctxt, bp->gfxCtx, sizeof(gfx_ctxt_t));
|
||||
memcpy(&gfx_con, bp->gfx_con, sizeof(gfx_con_t));
|
||||
memcpy(&gfx_ctxt, bp->gfx_ctx, sizeof(gfx_ctxt_t));
|
||||
|
||||
gfx_puts("Hello World!");
|
||||
|
||||
memcpy(bp->gfxCon, &gfx_con, sizeof(gfx_con_t));
|
||||
memcpy(bp->gfxCtx, &gfx_ctxt, sizeof(gfx_ctxt_t));
|
||||
memcpy(bp->gfx_con, &gfx_con, sizeof(gfx_con_t));
|
||||
memcpy(bp->gfx_ctx, &gfx_ctxt, sizeof(gfx_ctxt_t));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user