Use enum initializers not enumval= where possible
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
enum DisplayMode {
|
||||
//% enumval=0 block="black and white"
|
||||
BackAndWhite,
|
||||
//% enumval=1 block="greyscale"
|
||||
Greyscale,
|
||||
//% block="black and white"
|
||||
BackAndWhite = 0,
|
||||
//% block="greyscale"
|
||||
Greyscale = 1,
|
||||
}
|
||||
|
||||
//% color=3 weight=35
|
||||
|
Reference in New Issue
Block a user