File tree 12 files changed +12
-12
lines changed
kernel/low_level_debug/src 12 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ mod tests;
135
135
// Driver number and command IDs
136
136
// -----------------------------------------------------------------------------
137
137
138
- const DRIVER_NUM : u32 = 3 ;
138
+ const DRIVER_NUM : u32 = 0x3 ;
139
139
140
140
// Command IDs
141
141
const BUTTONS_COUNT : u32 = 0 ;
Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ mod tests;
138
138
// Driver number and command IDs
139
139
// -----------------------------------------------------------------------------
140
140
141
- const DRIVER_NUM : u32 = 1 ;
141
+ const DRIVER_NUM : u32 = 0x1 ;
142
142
143
143
// Command IDs
144
144
#[ allow( unused) ]
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ mod tests;
44
44
// Driver number and command IDs
45
45
// -----------------------------------------------------------------------------
46
46
47
- const DRIVER_NUM : u32 = 2 ;
47
+ const DRIVER_NUM : u32 = 0x2 ;
48
48
49
49
// Command IDs
50
50
const LEDS_COUNT : u32 = 0 ;
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ mod tests;
73
73
// Driver number and command IDs
74
74
// -----------------------------------------------------------------------------
75
75
76
- const DRIVER_NUM : u32 = 8 ;
76
+ const DRIVER_NUM : u32 = 0x8 ;
77
77
78
78
// Command IDs
79
79
const EXISTS : u32 = 0 ;
Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ mod tests;
110
110
// Driver number and command IDs
111
111
// -----------------------------------------------------------------------------
112
112
113
- const DRIVER_NUM : u32 = 0 ;
113
+ const DRIVER_NUM : u32 = 0x0 ;
114
114
115
115
// Command IDs
116
116
#[ allow( unused) ]
Original file line number Diff line number Diff line change @@ -254,7 +254,7 @@ mod tests;
254
254
// Driver number and command IDs
255
255
// -----------------------------------------------------------------------------
256
256
257
- const DRIVER_NUM : u32 = 4 ;
257
+ const DRIVER_NUM : u32 = 0x4 ;
258
258
259
259
// Command IDs
260
260
const EXISTS : u32 = 0 ;
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ mod tests;
62
62
// Driver number and command IDs
63
63
// -----------------------------------------------------------------------------
64
64
65
- const DRIVER_NUM : u32 = 0 ;
65
+ const DRIVER_NUM : u32 = 0x0 ;
66
66
67
67
// Command IDs
68
68
#[ allow( unused) ]
Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ mod tests;
118
118
// Driver number and command IDs
119
119
// -----------------------------------------------------------------------------
120
120
121
- const DRIVER_NUM : u32 = 3 ;
121
+ const DRIVER_NUM : u32 = 0x3 ;
122
122
123
123
// Command IDs
124
124
const BUTTONS_COUNT : u32 = 0 ;
Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ impl crate::fake::SyscallDriver for Console {
118
118
#[ cfg( test) ]
119
119
mod tests;
120
120
121
- const DRIVER_NUM : u32 = 1 ;
121
+ const DRIVER_NUM : u32 = 0x1 ;
122
122
123
123
// Command numbers
124
124
const EXISTS : u32 = 0 ;
Original file line number Diff line number Diff line change @@ -253,7 +253,7 @@ mod tests;
253
253
// Driver number and command IDs
254
254
// -----------------------------------------------------------------------------
255
255
256
- const DRIVER_NUM : u32 = 4 ;
256
+ const DRIVER_NUM : u32 = 0x4 ;
257
257
258
258
// Command IDs
259
259
const EXISTS : u32 = 0 ;
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ mod tests;
70
70
// Implementation details below
71
71
// -----------------------------------------------------------------------------
72
72
73
- const DRIVER_NUM : u32 = 2 ;
73
+ const DRIVER_NUM : u32 = 0x2 ;
74
74
75
75
// Command numbers
76
76
const EXISTS : u32 = 0 ;
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ impl core::fmt::Display for Message {
69
69
#[ cfg( test) ]
70
70
mod tests;
71
71
72
- const DRIVER_NUM : u32 = 8 ;
72
+ const DRIVER_NUM : u32 = 0x8 ;
73
73
74
74
// Command numbers
75
75
const EXISTS : u32 = 0 ;
You can’t perform that action at this time.
0 commit comments