Changes between Version 10 and Version 11 of SujetTP2-2017


Ignore:
Timestamp:
Feb 3, 2017, 8:20:33 AM (8 years ago)
Author:
franck
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SujetTP2-2017

    v10 v11  
    288288#include <mach/platform.h>
    289289
    290 static const int LED0 = 2;
     290static const int LED0 = 4;
    291291
    292292struct gpio_s
     
    419419    result = mod_timer(&led_blink_timer, jiffies + msecs_to_jiffies(led_blink_period));
    420420    BUG_ON(result < 0);
     421    printk(KERN_DEBUG "blink loaded\n");
     422
    421423    return 0;
    422424}
     
    426428    gpio_fsel(LED0, FUN_INPUT);
    427429    del_timer(&led_blink_timer);
     430    printk(KERN_DEBUG "blink removed\n");
    428431}
    429432