[Bug] Develop - Change uint32_t to layer_state_t (#13596)
* fix sat75 * update uint32_t to layer_state
This commit is contained in:
@@ -9,7 +9,7 @@ static int16_t fnTimer = 0;
|
||||
|
||||
|
||||
|
||||
uint32_t layer_state_set_user(uint32_t state)
|
||||
layer_state_t layer_state_set_user(layer_state_t state)
|
||||
{
|
||||
switch (biton32(state))
|
||||
{
|
||||
@@ -40,34 +40,34 @@ bool printSqlVerbs(uint16_t keycode, keyrecord_t *record)
|
||||
{
|
||||
switch (keycode)
|
||||
{
|
||||
case S_LFTJN:
|
||||
SEND_STRING("LEFT JOIN");
|
||||
case S_LFTJN:
|
||||
SEND_STRING("LEFT JOIN");
|
||||
activateRelativity();
|
||||
return false;
|
||||
case S_INRJN:
|
||||
SEND_STRING("INNER JOIN ");
|
||||
case S_INRJN:
|
||||
SEND_STRING("INNER JOIN ");
|
||||
activateRelativity();
|
||||
return false;
|
||||
case S_SLCT:
|
||||
SEND_STRING("SELECT "); return
|
||||
case S_SLCT:
|
||||
SEND_STRING("SELECT "); return
|
||||
false;
|
||||
case S_FROM:
|
||||
SEND_STRING("FROM "); return
|
||||
case S_FROM:
|
||||
SEND_STRING("FROM "); return
|
||||
false;
|
||||
case S_DSNCT:
|
||||
SEND_STRING("DISTINCT "); return
|
||||
case S_DSNCT:
|
||||
SEND_STRING("DISTINCT "); return
|
||||
false;
|
||||
case S_ORDER:
|
||||
SEND_STRING("ORDER BY "); return
|
||||
case S_ORDER:
|
||||
SEND_STRING("ORDER BY "); return
|
||||
false;
|
||||
case S_WHERE:
|
||||
SEND_STRING("WHERE "); return
|
||||
case S_WHERE:
|
||||
SEND_STRING("WHERE "); return
|
||||
false;
|
||||
case S_ALTER:
|
||||
case S_ALTER:
|
||||
SEND_STRING("ALTER SESSION SET CURRENT_SCHEMA = SUPPLY;"); return false;
|
||||
case S_ASTRK:
|
||||
case S_ASTRK:
|
||||
SEND_STRING("* "); return false;
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
return true;
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#define fnTimeout 500
|
||||
|
||||
|
||||
uint32_t layer_state_set_user(uint32_t state);
|
||||
layer_state_t layer_state_set_user(layer_state_t state);
|
||||
|
||||
bool printSqlVerbs(uint16_t keycode, keyrecord_t *record);
|
||||
|
||||
|
@@ -69,7 +69,7 @@ void matrix_init_user(void) {
|
||||
user_led_off();
|
||||
}
|
||||
|
||||
uint32_t layer_state_set_user(uint32_t state) {
|
||||
layer_state_t layer_state_set_user(layer_state_t state) {
|
||||
static uint32_t last_state = 0;
|
||||
|
||||
if(last_state != state) {
|
||||
|
Reference in New Issue
Block a user