Changes between Version 10 and Version 11 of SujetTP2-2017
- Timestamp:
- Feb 3, 2017, 8:20:33 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SujetTP2-2017
v10 v11 288 288 #include <mach/platform.h> 289 289 290 static const int LED0 = 2;290 static const int LED0 = 4; 291 291 292 292 struct gpio_s … … 419 419 result = mod_timer(&led_blink_timer, jiffies + msecs_to_jiffies(led_blink_period)); 420 420 BUG_ON(result < 0); 421 printk(KERN_DEBUG "blink loaded\n"); 422 421 423 return 0; 422 424 } … … 426 428 gpio_fsel(LED0, FUN_INPUT); 427 429 del_timer(&led_blink_timer); 430 printk(KERN_DEBUG "blink removed\n"); 428 431 } 429 432