Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- component mycomp;
- pin in u32 length;
- option singleton;
- option extra_setup;
- option extra_cleanup;
- function write "Send data";
- ;;
- #include <linux/net.h>
- #include <linux/in.h>
- #include "rtapi_math.h"
- EXTRA_SETUP()
- {
- u32 temp0, temp1;
- temp0 = length;
- temp0 = temp0 << 8;
- temp1 = length;
- temp1 = temp1 << 8;
- rtapi_print_msg(RTAPI_MSG_ERR,"ahift: %d >> %d << %d\n",length, temp0, temp1);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement