Skip to content

Commit

Permalink
Updated notification-led example for latest libnx.
Browse files Browse the repository at this point in the history
  • Loading branch information
yellows8 committed Apr 27, 2019
1 parent 4520021 commit 1d7a5f0
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions hid/notification-led/source/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,10 @@ int main(int argc, char* argv[])
memset(&pattern, 0, sizeof(pattern));

// Setup the pattern data.
// TODO: Update this once libnx has the struct filled in.
pattern.unk_x0[0] = 0xf;
pattern.unk_x0[1] = 0xf;
pattern.unk_x0[2] = 0xf;
pattern.unk_x0[3] = 0xf;
pattern.globalMiniCycleDuration = 0xf;
pattern.totalMiniCycles = 0xf;
pattern.totalFullCycles = 0xf;
pattern.startIntensity = 0xf;

printf("notification-led example\n");

Expand Down

0 comments on commit 1d7a5f0

Please sign in to comment.