We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4520021 commit 1d7a5f0Copy full SHA for 1d7a5f0
hid/notification-led/source/main.c
@@ -28,11 +28,10 @@ int main(int argc, char* argv[])
28
memset(&pattern, 0, sizeof(pattern));
29
30
// Setup the pattern data.
31
- // TODO: Update this once libnx has the struct filled in.
32
- pattern.unk_x0[0] = 0xf;
33
- pattern.unk_x0[1] = 0xf;
34
- pattern.unk_x0[2] = 0xf;
35
- pattern.unk_x0[3] = 0xf;
+ pattern.globalMiniCycleDuration = 0xf;
+ pattern.totalMiniCycles = 0xf;
+ pattern.totalFullCycles = 0xf;
+ pattern.startIntensity = 0xf;
36
37
printf("notification-led example\n");
38
0 commit comments