o Update documentation.

This commit is contained in:
Henner Zeller 2016-12-16 10:24:42 -08:00
parent 5b3bbb7008
commit 3f47b57598

View file

@ -126,12 +126,12 @@ struct RGBLedMatrixOptions {
* int main(int argc, char **argv) {
* struct RGBLedMatrixOptions options;
* memset(&options, 0, sizeof(options));
* options.rows = 32;
* options.rows = 32; // You can set defaults if you want.
* options.chain_length = 1;
* struct RGBLedMatrix *matrix = led_matrix_create_from_options(&options,
* &argc, &argv);
* if (matrix == NULL) {
* led_matrix_print_flags(stderr, &options);
* led_matrix_print_flags(stderr);
* return 1;
* }
* // do additional commandline handling; then use matrix...