1
0
mirror of https://github.com/ioacademy-jikim/android_framwork synced 2025-06-07 16:06:29 +00:00
ioacademy-jikim b313330e0f 12
2018-06-15 17:07:15 +09:00

20 lines
205 B
C

#include <stdio.h>
typedef struct module
{
void (*on)();
void (*off)();
} module_t;
void ledOn()
{
printf("ledOn()\n");
}
void ledOff()
{
printf("ledOff()\n");
}
module_t HMI = { ledOn, ledOff };