gcc484ntopperl-5.22
Last change
on this file since c5c522c was
c5c522c,
checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago
|
initial commit, transferred from cleaned syn3 svn tree
|
-
Property mode set to
100644
|
File size:
286 bytes
|
Line | |
---|
1 | Hmm... |
---|
2 | |
---|
3 | How to do multiple drivers... |
---|
4 | |
---|
5 | |
---|
6 | lcd_sample_func(parameters) |
---|
7 | { |
---|
8 | D'oh.. |
---|
9 | } |
---|
10 | |
---|
11 | lcd_driver_caller() |
---|
12 | { |
---|
13 | foreach driver (@drivers) |
---|
14 | { |
---|
15 | if(driver supports function) |
---|
16 | call driver's function |
---|
17 | else if(driver uses defaults) |
---|
18 | call default function |
---|
19 | else don't do anything |
---|
20 | } |
---|
21 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.