root/platform/sx230hs/sub/101b/kbd.c

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. wrap_kbd_p1_f

   1 #include "lolevel.h"
   2 #include "platform.h"
   3 
   4 //
   5 long __attribute__((naked,noinline)) wrap_kbd_p1_f() {
   6 
   7     asm volatile(
   8         //@0xFF024D94
   9                 "STMFD   SP!, {R1-R7,LR}\n"
  10                 "MOV     R5, #0\n"
  11             //  "BL      _kbd_read_keys\n"       // replaces kbd_fetch_data()
  12                 "BL      my_kbd_read_keys\n"     // +
  13                 "B       _kbd_p1_f_cont\n"       // continue
  14     );
  15 
  16     return 0;   // shut up the compiler
  17 }

/* [<][>][^][v][top][bottom][index][help] */